--- a/includes/common.php Mon Sep 29 08:24:26 2008 -0400
+++ b/includes/common.php Sun Nov 09 14:22:03 2008 -0500
@@ -170,6 +170,10 @@
global $timezone;
$timezone = 0;
+// DST settings
+global $dst_params;
+$dst_params = array(0, 0, 0, 0, 60);
+
// Divert to CLI loader if running from CLI
if ( isset($argc) && isset($argv) )
{
@@ -390,7 +394,7 @@
// One quick security check...
if ( !is_valid_ip($_SERVER['REMOTE_ADDR']) )
{
- die('SECURITY: spoofed IP address');
+ die('SECURITY: spoofed IP address: ' . htmlspecialchars($_SERVER['REMOTE_ADDR']));
}
// All checks passed! Start the main components up.