changeset 270 | 5bcdee999015 |
parent 195 | eec079676fe7 |
child 271 | f088805540ae |
child 272 | e0ec986c0af3 |
--- a/includes/common.php Sat Nov 17 23:30:23 2007 -0500 +++ b/includes/common.php Sun Nov 18 18:44:55 2007 -0500 @@ -250,6 +250,12 @@ @call_user_func('page_'.$p[1].'_'.$p[0].'_preloader'); } + // One quick security check... + if ( !is_valid_ip($_SERVER['REMOTE_ADDR']) ) + { + die('SECURITY: spoofed IP address'); + } + $session->start(); $paths->init();