diff --git a/fastphp/Fastphp.php b/fastphp/Fastphp.php index d700dd4..c97f700 100644 --- a/fastphp/Fastphp.php +++ b/fastphp/Fastphp.php @@ -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']);