diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2006-05-03 04:26:25 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2006-05-03 04:26:25 +0000 |
commit | 29d741746d47b9fdb6170a5e0a951726cc1207af (patch) | |
tree | 43e3d7f2d74430fc871dcd6d1b69b24972708162 /functions/init.inc.php | |
parent | 22f0f8ec9c1b644eab1f2abe50feddca9fba7ea9 (diff) | |
download | phpicalendar-29d741746d47b9fdb6170a5e0a951726cc1207af.tar.gz phpicalendar-29d741746d47b9fdb6170a5e0a951726cc1207af.tar.bz2 phpicalendar-29d741746d47b9fdb6170a5e0a951726cc1207af.zip |
remove requirement for subdirs in tmp when useing cpath
Diffstat (limited to 'functions/init.inc.php')
-rw-r--r-- | functions/init.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 |