aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorChristophe HENRY <christophe.henry@sbgodin.fr>2014-07-31 23:17:30 +0200
committerChristophe HENRY <christophe.henry@sbgodin.fr>2014-07-31 23:31:58 +0200
commitc614a35db8c49bc953c6fcd83161def61a76d945 (patch)
tree1989068808fe3790900dde779bde90f29b57f672 /index.php
parent25f5c59db6ac482ae2dd7996c9dd6794680c2a5b (diff)
downloadShaarli-c614a35db8c49bc953c6fcd83161def61a76d945.tar.gz
Shaarli-c614a35db8c49bc953c6fcd83161def61a76d945.tar.zst
Shaarli-c614a35db8c49bc953c6fcd83161def61a76d945.zip
Removed redundant check on RAINTPL_TMP directory
The same test is already on line 93
Diffstat (limited to 'index.php')
-rw-r--r--index.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/index.php b/index.php
index fedad2b9..3301b13c 100644
--- a/index.php
+++ b/index.php
@@ -66,7 +66,6 @@ error_reporting(E_ALL^E_WARNING); // See all error except warnings.
66 66
67include "inc/rain.tpl.class.php"; //include Rain TPL 67include "inc/rain.tpl.class.php"; //include Rain TPL
68raintpl::$tpl_dir = $GLOBALS['config']['RAINTPL_TPL']; // template directory 68raintpl::$tpl_dir = $GLOBALS['config']['RAINTPL_TPL']; // template directory
69if (!is_dir($GLOBALS['config']['RAINTPL_TMP'])) { mkdir($GLOBALS['config']['RAINTPL_TMP'],0705); chmod($GLOBALS['config']['RAINTPL_TMP'],0705); }
70raintpl::$cache_dir = $GLOBALS['config']['RAINTPL_TMP']; // cache directory 69raintpl::$cache_dir = $GLOBALS['config']['RAINTPL_TMP']; // cache directory
71 70
72ob_start(); // Output buffering for the page cache. 71ob_start(); // Output buffering for the page cache.