PHP_SELF 를 SCRIPT_NAME 으로 변경
This commit is contained in:
@ -3,7 +3,7 @@ define('G5_IS_ADMIN', true);
|
||||
include_once ('../../common.php');
|
||||
include_once(G5_ADMIN_PATH.'/admin.lib.php');
|
||||
|
||||
if (!strstr($_SERVER['PHP_SELF'], 'install.php')) {
|
||||
if (!strstr($_SERVER['SCRIPT_NAME'], 'install.php')) {
|
||||
if(!mysql_num_rows(mysql_query(" show tables like '{$g5['sms5_config_table']}' ")))
|
||||
goto_url('install.php');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user