From: <par...@us...> - 2010-05-12 15:27:02
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv27145/functions Modified Files: date_functions.php Log Message: Fix a bug with URL query strings in the new remote_filemtime() Index: date_functions.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/date_functions.php,v retrieving revision 1.59 retrieving revision 1.60 diff -C2 -d -r1.59 -r1.60 *** date_functions.php 15 Apr 2010 17:53:18 -0000 1.59 --- date_functions.php 12 May 2010 15:26:49 -0000 1.60 *************** *** 26,34 **** ); $uri['port'] = isset($uri['port']) ? $uri['port'] : 80; ! $path = ( ! (isset($uri['path']) || isset($uri['query'])) ? ! (@$uri['path'] . @$uri['query']) : ! '/' ! ); $auth = ( (isset($uri['user']) || isset($uri['pass'])) ? --- 26,32 ---- ); $uri['port'] = isset($uri['port']) ? $uri['port'] : 80; ! $uri['path'] = isset($uri['path']) ? $uri['path'] : '/'; ! $uri['query'] = isset($uri['query']) ? ('?' . $uri['query']) : ''; ! $path = $uri['path'] . $uri['query']; $auth = ( (isset($uri['user']) || isset($uri['pass'])) ? |