aboutsummaryrefslogtreecommitdiffhomepage
path: root/application
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2015-06-23 20:54:43 +0200
committerArthurHoaro <arthur@hoa.ro>2015-06-24 11:58:00 +0200
commit598376d4cfeab52cb7aaefa0d553f74f603bad9b (patch)
tree18c2e113a9cbb17cae5eb6a992ed409c98825917 /application
parent64bc92e3ac8f5e66d2bc14206ede31e6679d8c13 (diff)
downloadShaarli-598376d4cfeab52cb7aaefa0d553f74f603bad9b.tar.gz
Shaarli-598376d4cfeab52cb7aaefa0d553f74f603bad9b.tar.zst
Shaarli-598376d4cfeab52cb7aaefa0d553f74f603bad9b.zip
Change fresh install default link
Fixes #200 Let me know if you want to change anything in the description.
Diffstat (limited to 'application')
-rw-r--r--application/LinkDB.php16
1 files changed, 10 insertions, 6 deletions
diff --git a/application/LinkDB.php b/application/LinkDB.php
index 2b3fb60b..ca619bba 100644
--- a/application/LinkDB.php
+++ b/application/LinkDB.php
@@ -179,11 +179,15 @@ class LinkDB implements Iterator, Countable, ArrayAccess
179 // Create a dummy database for example 179 // Create a dummy database for example
180 $this->links = array(); 180 $this->links = array();
181 $link = array( 181 $link = array(
182 'title'=>'Shaarli - sebsauvage.net', 182 'title'=>' Shaarli: the personal, minimalist, super-fast, no-database delicious clone',
183 'url'=>'http://sebsauvage.net/wiki/doku.php?id=php:shaarli', 183 'url'=>'https://github.com/shaarli/Shaarli/wiki',
184 'description'=>'Welcome to Shaarli! This is a bookmark. To edit or delete me, you must first login.', 184 'description'=>'Welcome to Shaarli! This is your first public bookmark. To edit or delete me, you must first login.
185
186To learn how to use Shaarli, consult the link "Help/documentation" at the bottom of this page.
187
188You use the community supported version of the original Shaarli project, by Sebastien Sauvage.',
185 'private'=>0, 189 'private'=>0,
186 'linkdate'=>'20110914_190000', 190 'linkdate'=> date('Ymd_His'),
187 'tags'=>'opensource software' 191 'tags'=>'opensource software'
188 ); 192 );
189 $this->links[$link['linkdate']] = $link; 193 $this->links[$link['linkdate']] = $link;
@@ -191,9 +195,9 @@ class LinkDB implements Iterator, Countable, ArrayAccess
191 $link = array( 195 $link = array(
192 'title'=>'My secret stuff... - Pastebin.com', 196 'title'=>'My secret stuff... - Pastebin.com',
193 'url'=>'http://sebsauvage.net/paste/?8434b27936c09649#bR7XsXhoTiLcqCpQbmOpBi3rq2zzQUC5hBI7ZT1O3x8=', 197 'url'=>'http://sebsauvage.net/paste/?8434b27936c09649#bR7XsXhoTiLcqCpQbmOpBi3rq2zzQUC5hBI7ZT1O3x8=',
194 'description'=>'SShhhh!! I\'m a private link only YOU can see. You can delete me too.', 198 'description'=>'Shhhh! I\'m a private link only YOU can see. You can delete me too.',
195 'private'=>1, 199 'private'=>1,
196 'linkdate'=>'20110914_074522', 200 'linkdate'=> date('Ymd_His', strtotime('-1 minute')),
197 'tags'=>'secretstuff' 201 'tags'=>'secretstuff'
198 ); 202 );
199 $this->links[$link['linkdate']] = $link; 203 $this->links[$link['linkdate']] = $link;