diff options
author | Christophe HENRY <christophe.henry@sbgodin.fr> | 2014-07-31 23:17:30 +0200 |
---|---|---|
committer | Christophe HENRY <christophe.henry@sbgodin.fr> | 2014-07-31 23:31:58 +0200 |
commit | c614a35db8c49bc953c6fcd83161def61a76d945 (patch) | |
tree | 1989068808fe3790900dde779bde90f29b57f672 | |
parent | 25f5c59db6ac482ae2dd7996c9dd6794680c2a5b (diff) | |
download | Shaarli-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
-rw-r--r-- | index.php | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -66,7 +66,6 @@ error_reporting(E_ALL^E_WARNING); // See all error except warnings. | |||
66 | 66 | ||
67 | include "inc/rain.tpl.class.php"; //include Rain TPL | 67 | include "inc/rain.tpl.class.php"; //include Rain TPL |
68 | raintpl::$tpl_dir = $GLOBALS['config']['RAINTPL_TPL']; // template directory | 68 | raintpl::$tpl_dir = $GLOBALS['config']['RAINTPL_TPL']; // template directory |
69 | if (!is_dir($GLOBALS['config']['RAINTPL_TMP'])) { mkdir($GLOBALS['config']['RAINTPL_TMP'],0705); chmod($GLOBALS['config']['RAINTPL_TMP'],0705); } | ||
70 | raintpl::$cache_dir = $GLOBALS['config']['RAINTPL_TMP']; // cache directory | 69 | raintpl::$cache_dir = $GLOBALS['config']['RAINTPL_TMP']; // cache directory |
71 | 70 | ||
72 | ob_start(); // Output buffering for the page cache. | 71 | ob_start(); // Output buffering for the page cache. |