From c614a35db8c49bc953c6fcd83161def61a76d945 Mon Sep 17 00:00:00 2001 From: Christophe HENRY Date: Thu, 31 Jul 2014 23:17:30 +0200 Subject: [PATCH] Removed redundant check on RAINTPL_TMP directory The same test is already on line 93 --- index.php | 1 - 1 file changed, 1 deletion(-) diff --git a/index.php b/index.php index fedad2b..3301b13 100644 --- a/index.php +++ b/index.php @@ -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.