This commit is contained in:
as2252258@163.com
2021-04-23 03:12:00 +08:00
parent 8b57f44f7e
commit 325ab04f20
26 changed files with 775 additions and 1493 deletions
+2 -1
View File
@@ -154,8 +154,9 @@ abstract class BaseApplication extends Service
*/
public function parseInt($config)
{
$_config = Snowflake::app()->getConfig();
foreach ($config as $key => $value) {
Config::set($key, $value);
$_config->setData($key, $value);
}
if ($storage = Config::get('storage', 'storage')) {
if (!str_contains($storage, APP_PATH)) {