diff options
author | Seb Sauvage <sebsauvage@sebsauvage.net> | 2012-01-25 12:36:08 +0100 |
---|---|---|
committer | Emilien Klein <emilien@klein.st> | 2012-01-25 12:36:08 +0100 |
commit | 8baf884671060db9e166b96f6428aff80f6ca1f5 (patch) | |
tree | 7d3c6ddf270840cad7d1701f127ab5f9ae09df1c /index.php | |
parent | 51788ab8bacfe5fe951531ef545913ff6983f1b8 (diff) | |
download | Shaarli-8baf884671060db9e166b96f6428aff80f6ca1f5.tar.gz Shaarli-8baf884671060db9e166b96f6428aff80f6ca1f5.tar.zst Shaarli-8baf884671060db9e166b96f6428aff80f6ca1f5.zip |
Version 0.0.35 beta:
- Corrected: Corrected a bug introduced in 0.0.34 which would improperly preprend data to URLs.
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | <?php | 1 | <?php |
2 | // Shaarli 0.0.34 beta - Shaare your links... | 2 | // Shaarli 0.0.35 beta - 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 |
@@ -58,7 +58,7 @@ header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); | |||
58 | header("Cache-Control: no-store, no-cache, must-revalidate"); | 58 | header("Cache-Control: no-store, no-cache, must-revalidate"); |
59 | header("Cache-Control: post-check=0, pre-check=0", false); | 59 | header("Cache-Control: post-check=0, pre-check=0", false); |
60 | header("Pragma: no-cache"); | 60 | header("Pragma: no-cache"); |
61 | define('shaarli_version','0.0.34 beta'); | 61 | define('shaarli_version','0.0.35 beta'); |
62 | if (!is_dir($GLOBALS['config']['DATADIR'])) { mkdir($GLOBALS['config']['DATADIR'],0705); chmod($GLOBALS['config']['DATADIR'],0705); } | 62 | if (!is_dir($GLOBALS['config']['DATADIR'])) { mkdir($GLOBALS['config']['DATADIR'],0705); chmod($GLOBALS['config']['DATADIR'],0705); } |
63 | if (!is_file($GLOBALS['config']['DATADIR'].'/.htaccess')) { file_put_contents($GLOBALS['config']['DATADIR'].'/.htaccess',"Allow from none\nDeny from all\n"); } // Protect data files. | 63 | if (!is_file($GLOBALS['config']['DATADIR'].'/.htaccess')) { file_put_contents($GLOBALS['config']['DATADIR'].'/.htaccess',"Allow from none\nDeny from all\n"); } // Protect data files. |
64 | if ($GLOBALS['config']['ENABLE_LOCALCACHE']) | 64 | if ($GLOBALS['config']['ENABLE_LOCALCACHE']) |