From 29d741746d47b9fdb6170a5e0a951726cc1207af Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Wed, 3 May 2006 04:26:25 +0000 Subject: remove requirement for subdirs in tmp when useing cpath --- functions/init.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'functions/init.inc.php') diff --git a/functions/init.inc.php b/functions/init.inc.php index a1641f6..4beb63a 100644 --- a/functions/init.inc.php +++ b/functions/init.inc.php @@ -36,11 +36,11 @@ $cpath = ''; #initialize cpath to prevent later undef warnings. if(isset($_REQUEST['cpath'])&& $_REQUEST['cpath'] !=''){ $cpath = str_replace('..','',$_REQUEST['cpath']); $calendar_path .= "/$cpath"; - $tmp_dir .= "/$cpath"; +# $tmp_dir .= "/$cpath"; }elseif(isset($default_cpath_check) && $default_cpath_check !='' ){ $cpath = str_replace('..','',$default_cpath_check); $calendar_path .= "/$cpath"; - $tmp_dir .= "/$cpath"; +# $tmp_dir .= "/$cpath"; } #these need cpath to be set #set up specific template folder for a particular cpath -- cgit v1.2.3