Skip to content

Commit

Permalink
fix config cache location pb
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheron committed Jan 2, 2023
1 parent 0d93f31 commit 66439b4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/devtools/server/_index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down
2 changes: 1 addition & 1 deletion src/devtools/server/_ngx.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down
2 changes: 1 addition & 1 deletion src/devtools/server/_react.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down
2 changes: 1 addition & 1 deletion src/devtools/server/_swoole.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down
2 changes: 1 addition & 1 deletion src/devtools/server/_workerman.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit 66439b4

Please sign in to comment.