From: <ji...@us...> - 2006-02-15 15:41:37
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16120/phpicalendar/functions Modified Files: init.inc.php Log Message: fix date calculation problems (I hope) Index: init.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init.inc.php,v retrieving revision 1.83 retrieving revision 1.84 diff -C2 -d -r1.83 -r1.84 *** init.inc.php 8 Dec 2005 01:06:09 -0000 1.83 --- init.inc.php 15 Feb 2006 15:41:24 -0000 1.84 *************** *** 57,63 **** // Grab the action (login or logout). ! if (isset($_GET['action'])) $action = $_GET['action']; ! else if (isset($_POST['action'])) $action = $_POST['action']; ! else $action = ''; // Login and/or logout. --- 57,62 ---- // Grab the action (login or logout). ! $action = ''; ! if (isset($_REQUEST['action'])) $action = $_GET['action']; // Login and/or logout. |