diff --git a/src/devtools/server/_index.php b/src/devtools/server/_index.php index e20d857..18c1155 100644 --- a/src/devtools/server/_index.php +++ b/src/devtools/server/_index.php @@ -3,7 +3,7 @@ define('DS', DIRECTORY_SEPARATOR); define('ROOT', __DIR__ . \DS . '..' . \DS . 'app' . \DS); } -$config = include ROOT . 'config/config.php'; +$config = include ROOT . 'cache/config/config.cache.php'; $sConfig = include __DIR__ . \DS . 'config.php'; $config["siteUrl"] = 'http://' . $sConfig['host'] . ':' . $sConfig['port'] . '/'; $config['sessionName'] = $sConfig['sessionName']; diff --git a/src/devtools/server/_ngx.php b/src/devtools/server/_ngx.php index 37f2f60..2683925 100644 --- a/src/devtools/server/_ngx.php +++ b/src/devtools/server/_ngx.php @@ -4,7 +4,7 @@ define('DS', DIRECTORY_SEPARATOR); define('ROOT', __DIR__ . \DS . '..' . \DS . 'app' . \DS); } -$config = include ROOT . 'config/config.php'; +$config = include ROOT . 'cache/config/config.cache.php'; $sConfig = include __DIR__ . \DS . 'ngx-config.php'; $config["sessionName"] = $sConfig["sessionName"]; $address = $sConfig['host'] . ':' . $sConfig['port']; diff --git a/src/devtools/server/_react.php b/src/devtools/server/_react.php index 721dd26..2dceace 100644 --- a/src/devtools/server/_react.php +++ b/src/devtools/server/_react.php @@ -6,7 +6,7 @@ define ( 'DS', DIRECTORY_SEPARATOR ); define ( 'ROOT', __DIR__ . \DS .'..'.\DS. 'app' . \DS ); } -$config=include ROOT.'config/config.php'; +$config=include ROOT.'cache/config/config.cache.php'; $sConfig= include __DIR__.\DS.'react-config.php'; $config["sessionName"]=$sConfig["sessionName"]; $address=$sConfig['host'].':'.$sConfig['port']; diff --git a/src/devtools/server/_swoole.php b/src/devtools/server/_swoole.php index 3a84e1a..c47eacb 100644 --- a/src/devtools/server/_swoole.php +++ b/src/devtools/server/_swoole.php @@ -6,7 +6,7 @@ define ( 'DS', DIRECTORY_SEPARATOR ); define ( 'ROOT', __DIR__ . \DS .'..'.\DS. 'app' . \DS ); } -$config=include ROOT.'config/config.php'; +$config=include ROOT.'cache/config/config.cache.php'; $sConfig= include __DIR__.\DS.'swoole-config.php'; $config["sessionName"]=$sConfig["sessionName"]; $address=$sConfig['host'].':'.$sConfig['port']; diff --git a/src/devtools/server/_workerman.php b/src/devtools/server/_workerman.php index a89ded9..d84fff0 100644 --- a/src/devtools/server/_workerman.php +++ b/src/devtools/server/_workerman.php @@ -6,7 +6,7 @@ define ( 'DS', DIRECTORY_SEPARATOR ); define ( 'ROOT', __DIR__ . \DS .'..'.\DS. 'app' . \DS ); } -$config=include ROOT.'config/config.php'; +$config=include ROOT.'cache/config/config.cache.php'; $sConfig= include __DIR__.\DS.'workerman-config.php'; $config["sessionName"]=$sConfig["sessionName"]; $address=$sConfig['host'].':'.$sConfig['port'];