|
From: | Dave Hall <address@hidden> |
Subject: | [Phpgroupware-cvs] calendar/inc class.boholiday.inc.php, 1.10.2.2, 1.10.2.3 |
Date: | Fri, 17 Oct 2003 01:30:06 +0000 |
Update of /cvsroot/phpgroupware/calendar/inc In directory subversions:/tmp/cvs-serv23443/inc Modified Files: Tag: Version-0_9_14-branch class.boholiday.inc.php Log Message: security fix Index: class.boholiday.inc.php =================================================================== RCS file: /cvsroot/phpgroupware/calendar/inc/class.boholiday.inc.php,v retrieving revision 1.10.2.2 retrieving revision 1.10.2.3 diff -C2 -d -r1.10.2.2 -r1.10.2.3 *** class.boholiday.inc.php 27 Feb 2003 19:14:02 -0000 1.10.2.2 --- class.boholiday.inc.php 17 Oct 2003 01:30:01 -0000 1.10.2.3 *************** *** 143,147 **** $send_back_to = str_replace('&locale='.$this->locales[0],'',$send_back_to); ! $file = './holidays.'.$this->locales[0]; if(!file_exists($file) && count($GLOBALS['HTTP_POST_VARS']['name'])) { --- 143,147 ---- $send_back_to = str_replace('&locale='.$this->locales[0],'',$send_back_to); ! $file = './holidays.'.$this->locales[0] . '.txt'; if(!file_exists($file) && count($GLOBALS['HTTP_POST_VARS']['name'])) { *************** *** 261,265 **** } // echo 'Loading from: '.$load_from.'/holidays.'.strtoupper($locale)."<br>\n"; ! $lines = $network->gethttpsocketfile($load_from.'/holidays.'.strtoupper($locale)); if (!$lines) { --- 261,265 ---- } // echo 'Loading from: '.$load_from.'/holidays.'.strtoupper($locale)."<br>\n"; ! $lines = $network->gethttpsocketfile($load_from.'/holidays.'.strtoupper($locale). '.txt'); if (!$lines) {
[Prev in Thread] | Current Thread | [Next in Thread] |