aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2015-08-31 20:36:13 +0200
committerVirtualTam <virtualtam@flibidi.net>2015-08-31 20:39:27 +0200
commit53cc2b93b85a080c6c06bc3633fb454241fc5699 (patch)
treead928289cc81c081982fe9dffddd9e464dce0e57 /index.php
parent6211c498f6e0bdc6d86152e9777bcc75955a5ec4 (diff)
downloadShaarli-53cc2b93b85a080c6c06bc3633fb454241fc5699.tar.gz
Shaarli-53cc2b93b85a080c6c06bc3633fb454241fc5699.tar.zst
Shaarli-53cc2b93b85a080c6c06bc3633fb454241fc5699.zip
Bump version to 0.5.2v0.5.2
Minor changes - fix Full Path Disclosure upon cookie forgery - fix regression preventing to load LinkDB info when adding an existing link - also extract HTTPS page metadata (title) - add PHP 7 to Travis platforms Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index f4c7e781..b8ca734f 100755
--- a/index.php
+++ b/index.php
@@ -1,5 +1,5 @@
1<?php 1<?php
2// Shaarli 0.5.1 - Shaare your links... 2// Shaarli 0.5.2 - Shaare your links...
3// The personal, minimalist, super-fast, no-database Delicious clone. By sebsauvage.net 3// The personal, minimalist, super-fast, no-database Delicious clone. By sebsauvage.net
4// http://sebsauvage.net/wiki/doku.php?id=php:shaarli 4// http://sebsauvage.net/wiki/doku.php?id=php:shaarli
5// Licence: http://www.opensource.org/licenses/zlib-license.php 5// Licence: http://www.opensource.org/licenses/zlib-license.php
@@ -39,7 +39,7 @@ $GLOBALS['config']['ARCHIVE_ORG'] = false; // For each link, add a link to an ar
39$GLOBALS['config']['ENABLE_RSS_PERMALINKS'] = true; // Enable RSS permalinks by default. This corresponds to the default behavior of shaarli before this was added as an option. 39$GLOBALS['config']['ENABLE_RSS_PERMALINKS'] = true; // Enable RSS permalinks by default. This corresponds to the default behavior of shaarli before this was added as an option.
40$GLOBALS['config']['HIDE_PUBLIC_LINKS'] = false; 40$GLOBALS['config']['HIDE_PUBLIC_LINKS'] = false;
41// ----------------------------------------------------------------------------------------------- 41// -----------------------------------------------------------------------------------------------
42define('shaarli_version','0.5.1'); 42define('shaarli_version','0.5.2');
43// http://server.com/x/shaarli --> /shaarli/ 43// http://server.com/x/shaarli --> /shaarli/
44define('WEB_PATH', substr($_SERVER["REQUEST_URI"], 0, 1+strrpos($_SERVER["REQUEST_URI"], '/', 0))); 44define('WEB_PATH', substr($_SERVER["REQUEST_URI"], 0, 1+strrpos($_SERVER["REQUEST_URI"], '/', 0)));
45 45