Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4136/phpicalendar/functions
Modified Files:
init.inc.php
Log Message:
remove requirement for subdirs in tmp when useing cpath
Index: init.inc.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init.inc.php,v
retrieving revision 1.97
retrieving revision 1.98
diff -C2 -d -r1.97 -r1.98
*** init.inc.php 10 Apr 2006 02:21:07 -0000 1.97
--- init.inc.php 3 May 2006 04:27:14 -0000 1.98
***************
*** 37,41 ****
$cpath = str_replace('..','',$_REQUEST['cpath']);
$calendar_path .= "/$cpath";
! $tmp_dir .= "/$cpath";
}elseif(isset($default_cpath_check) && $default_cpath_check !='' ){
$cpath = str_replace('..','',$default_cpath_check);
--- 37,41 ----
$cpath = str_replace('..','',$_REQUEST['cpath']);
$calendar_path .= "/$cpath";
! # $tmp_dir .= "/$cpath";
}elseif(isset($default_cpath_check) && $default_cpath_check !='' ){
$cpath = str_replace('..','',$default_cpath_check);
|