mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-12 03:05:34 +08:00
update to 1.2.1
add phar build script
This commit is contained in:
@@ -18,7 +18,8 @@ class GlobalConfig
|
||||
public $success = false;
|
||||
|
||||
public function __construct() {
|
||||
include_once WORKING_DIR . '/config/global.php';
|
||||
/** @noinspection PhpIncludeInspection */
|
||||
include_once DataProvider::getWorkingDir() . '/config/global.php';
|
||||
global $config;
|
||||
$this->success = true;
|
||||
$this->config = $config;
|
||||
|
||||
Reference in New Issue
Block a user