Skip to content

Commit 66439b4

Browse files
committed
fix config cache location pb
1 parent 0d93f31 commit 66439b4

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/devtools/server/_index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
define('DS', DIRECTORY_SEPARATOR);
44
define('ROOT', __DIR__ . \DS . '..' . \DS . 'app' . \DS);
55
}
6-
$config = include ROOT . 'config/config.php';
6+
$config = include ROOT . 'cache/config/config.cache.php';
77
$sConfig = include __DIR__ . \DS . 'config.php';
88
$config["siteUrl"] = 'http://' . $sConfig['host'] . ':' . $sConfig['port'] . '/';
99
$config['sessionName'] = $sConfig['sessionName'];

src/devtools/server/_ngx.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
define('DS', DIRECTORY_SEPARATOR);
55
define('ROOT', __DIR__ . \DS . '..' . \DS . 'app' . \DS);
66
}
7-
$config = include ROOT . 'config/config.php';
7+
$config = include ROOT . 'cache/config/config.cache.php';
88
$sConfig = include __DIR__ . \DS . 'ngx-config.php';
99
$config["sessionName"] = $sConfig["sessionName"];
1010
$address = $sConfig['host'] . ':' . $sConfig['port'];

src/devtools/server/_react.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
define ( 'DS', DIRECTORY_SEPARATOR );
77
define ( 'ROOT', __DIR__ . \DS .'..'.\DS. 'app' . \DS );
88
}
9-
$config=include ROOT.'config/config.php';
9+
$config=include ROOT.'cache/config/config.cache.php';
1010
$sConfig= include __DIR__.\DS.'react-config.php';
1111
$config["sessionName"]=$sConfig["sessionName"];
1212
$address=$sConfig['host'].':'.$sConfig['port'];

src/devtools/server/_swoole.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
define ( 'DS', DIRECTORY_SEPARATOR );
77
define ( 'ROOT', __DIR__ . \DS .'..'.\DS. 'app' . \DS );
88
}
9-
$config=include ROOT.'config/config.php';
9+
$config=include ROOT.'cache/config/config.cache.php';
1010
$sConfig= include __DIR__.\DS.'swoole-config.php';
1111
$config["sessionName"]=$sConfig["sessionName"];
1212
$address=$sConfig['host'].':'.$sConfig['port'];

src/devtools/server/_workerman.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
define ( 'DS', DIRECTORY_SEPARATOR );
77
define ( 'ROOT', __DIR__ . \DS .'..'.\DS. 'app' . \DS );
88
}
9-
$config=include ROOT.'config/config.php';
9+
$config=include ROOT.'cache/config/config.cache.php';
1010
$sConfig= include __DIR__.\DS.'workerman-config.php';
1111
$config["sessionName"]=$sConfig["sessionName"];
1212
$address=$sConfig['host'].':'.$sConfig['port'];

0 commit comments

Comments
 (0)