From b317369e9c6eb17383ca1e8105a0934bd0fbeead Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 24 Jan 2008 07:50:08 +1300 Subject: [PATCH] Paranoia sprinkles. --- inc/always.php.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/always.php.in b/inc/always.php.in index 85e7dbbd..2f32fa5b 100644 --- a/inc/always.php.in +++ b/inc/always.php.in @@ -9,6 +9,9 @@ // Ensure the configuration starts out as an empty object. unset($c); +// Ditto for a few other global things +unset($session); unset($request); unset($dbconn); + // Default some of the configurable values $c->sysabbr = 'davical'; $c->admin_email = 'admin@davical.example.com';