基础修改
This commit is contained in:
@@ -143,7 +143,7 @@ class Fastphp
|
||||
if(isset($_SERVER['LOGNAME'])){
|
||||
$name = $_SERVER['LOGNAME'];
|
||||
}
|
||||
if ((!in_array($origin, $formal_origin) && !$is_script) || $_SERVER['LOGNAME'] == $name) {
|
||||
if ((!in_array($origin, $formal_origin) && !$is_script) || $name == 'wyk') {
|
||||
define('DB_HOST', $this->config['db']['host']);
|
||||
define('DB_PORT', $this->config['db']['port']);
|
||||
define('DB_NAME', $this->config['db']['dbname']);
|
||||
|
||||
Reference in New Issue
Block a user