Removed redundant check on RAINTPL_TMP directory

The same test is already on line 93
This commit is contained in:
Christophe HENRY 2014-07-31 23:17:30 +02:00
parent 25f5c59db6
commit c614a35db8
1 changed files with 0 additions and 1 deletions

View File

@ -66,7 +66,6 @@ error_reporting(E_ALL^E_WARNING); // See all error except warnings.
include "inc/rain.tpl.class.php"; //include Rain TPL
raintpl::$tpl_dir = $GLOBALS['config']['RAINTPL_TPL']; // template directory
if (!is_dir($GLOBALS['config']['RAINTPL_TMP'])) { mkdir($GLOBALS['config']['RAINTPL_TMP'],0705); chmod($GLOBALS['config']['RAINTPL_TMP'],0705); }
raintpl::$cache_dir = $GLOBALS['config']['RAINTPL_TMP']; // cache directory
ob_start(); // Output buffering for the page cache.