aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorSébastien SAUVAGE <sebsauvage@sebsauvage.net>2013-09-25 10:41:31 +0200
committerSébastien SAUVAGE <sebsauvage@sebsauvage.net>2013-09-25 10:41:31 +0200
commit58a8f4cab466446499cdda0cce000a82bd486105 (patch)
treef58784a6773727d15c523aa528404e3406756e38 /index.php
parentc677013b9376a3054750badf97f7d1e73aa37735 (diff)
downloadShaarli-58a8f4cab466446499cdda0cce000a82bd486105.tar.gz
Shaarli-58a8f4cab466446499cdda0cce000a82bd486105.tar.zst
Shaarli-58a8f4cab466446499cdda0cce000a82bd486105.zip
Default example private link changed
Default example private link changed from pastebin to ZeroBin.
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 396b97fc..23a6294c 100644
--- a/index.php
+++ b/index.php
@@ -740,7 +740,7 @@ class linkdb implements Iterator, Countable, ArrayAccess
740 $this->links = array(); 740 $this->links = array();
741 $link = array('title'=>'Shaarli - sebsauvage.net','url'=>'http://sebsauvage.net/wiki/doku.php?id=php:shaarli','description'=>'Welcome to Shaarli ! This is a bookmark. To edit or delete me, you must first login.','private'=>0,'linkdate'=>'20110914_190000','tags'=>'opensource software'); 741 $link = array('title'=>'Shaarli - sebsauvage.net','url'=>'http://sebsauvage.net/wiki/doku.php?id=php:shaarli','description'=>'Welcome to Shaarli ! This is a bookmark. To edit or delete me, you must first login.','private'=>0,'linkdate'=>'20110914_190000','tags'=>'opensource software');
742 $this->links[$link['linkdate']] = $link; 742 $this->links[$link['linkdate']] = $link;
743 $link = array('title'=>'My secret stuff... - Pastebin.com','url'=>'http://pastebin.com/smCEEeSn','description'=>'SShhhh!! I\'m a private link only YOU can see. You can delete me too.','private'=>1,'linkdate'=>'20110914_074522','tags'=>'secretstuff'); 743 $link = array('title'=>'My secret stuff... - Pastebin.com','url'=>'http://sebsauvage.net/paste/?8434b27936c09649#bR7XsXhoTiLcqCpQbmOpBi3rq2zzQUC5hBI7ZT1O3x8=','description'=>'SShhhh!! I\'m a private link only YOU can see. You can delete me too.','private'=>1,'linkdate'=>'20110914_074522','tags'=>'secretstuff');
744 $this->links[$link['linkdate']] = $link; 744 $this->links[$link['linkdate']] = $link;
745 file_put_contents($GLOBALS['config']['DATASTORE'], PHPPREFIX.base64_encode(gzdeflate(serialize($this->links))).PHPSUFFIX); // Write database to disk 745 file_put_contents($GLOBALS['config']['DATASTORE'], PHPPREFIX.base64_encode(gzdeflate(serialize($this->links))).PHPSUFFIX); // Write database to disk
746 } 746 }