[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/cron stalesessions.php,1.6
From: |
powerstat |
Subject: |
[Phpgroupware-cvs] phpgwapi/cron stalesessions.php,1.6 |
Date: |
Tue, 3 May 2005 17:22:00 +0200 |
Update of phpgwapi/cron
Modified Files:
Branch: MAIN
stalesessions.php lines: +2 -2
Log Message:
$ARGV depends on register_globals before php 4.3 (so it might not be registered.
Changed to $_SERVER for more compatibility.
====================================================
Index: phpgwapi/cron/stalesessions.php
diff -u phpgwapi/cron/stalesessions.php:1.5 phpgwapi/cron/stalesessions.php:1.6
--- phpgwapi/cron/stalesessions.php:1.5 Thu Apr 28 08:11:59 2005
+++ phpgwapi/cron/stalesessions.php Tue May 3 15:22:34 2005
@@ -13,7 +13,7 @@
// config start
$purgedelay = "3600"; // define allowed idle time before deletion in seconds
$purgetime = time() - $purgedelay;
- $db_user = $ARGV[1];
+ $db_user = $_SERVER['argv'][1];
$db_pwd = "my_pass";
$db_server = "localhost";
$db_db = "phpGroupWare";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/cron stalesessions.php,1.6,
powerstat <=