equal
deleted
inserted
replaced
271 if( ( $p[1] == 'Admin' || $p[1] == 'Special' ) && function_exists('page_'.$p[1].'_'.$p[0].'_preloader')) |
271 if( ( $p[1] == 'Admin' || $p[1] == 'Special' ) && function_exists('page_'.$p[1].'_'.$p[0].'_preloader')) |
272 { |
272 { |
273 @call_user_func('page_'.$p[1].'_'.$p[0].'_preloader'); |
273 @call_user_func('page_'.$p[1].'_'.$p[0].'_preloader'); |
274 } |
274 } |
275 |
275 |
|
276 // One quick security check... |
|
277 if ( !is_valid_ip($_SERVER['REMOTE_ADDR']) ) |
|
278 { |
|
279 die('SECURITY: spoofed IP address'); |
|
280 } |
|
281 |
276 $session->start(); |
282 $session->start(); |
277 $paths->init(); |
283 $paths->init(); |
278 |
284 |
279 define('ENANO_MAINSTREAM', ''); |
285 define('ENANO_MAINSTREAM', ''); |
280 |
286 |