Permalink
Browse files

Force to destroy the php session. Without this, some buggy PHP versions

can have problems under certain situations. :-)
  • Loading branch information...
1 parent ea944ef commit 935ba6ed19db5510971cc43d4726720c3c10cb6e stronk7 committed Jul 7, 2004
Showing with 4 additions and 0 deletions.
  1. +4 −0 admin/cron.php
View
@@ -161,6 +161,10 @@
}
}
+ //Unset session variables and destroy it
+ @session_unset();
+ @session_destroy();
+
echo "Cron script completed correctly\n";
$difftime = microtime_diff($starttime, microtime());

0 comments on commit 935ba6e

Please sign in to comment.