]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Default example private link changed
authorSébastien SAUVAGE <sebsauvage@sebsauvage.net>
Wed, 25 Sep 2013 08:41:31 +0000 (10:41 +0200)
committerSébastien SAUVAGE <sebsauvage@sebsauvage.net>
Wed, 25 Sep 2013 08:41:31 +0000 (10:41 +0200)
Default example private link changed from pastebin to ZeroBin.

index.php

index 396b97fc769fec434ca4880727abc371a3c58960..23a6294c69ec9cec2e3cf40b35d036eb2c766d05 100644 (file)
--- a/index.php
+++ b/index.php
@@ -740,7 +740,7 @@ class linkdb implements Iterator, Countable, ArrayAccess
              $this->links = array();
              $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');
              $this->links[$link['linkdate']] = $link;
-             $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');
+             $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');
              $this->links[$link['linkdate']] = $link;
              file_put_contents($GLOBALS['config']['DATASTORE'], PHPPREFIX.base64_encode(gzdeflate(serialize($this->links))).PHPSUFFIX); // Write database to disk
         }