Skip to content
Permalink
Browse files
Fix
  • Loading branch information
pengmingming committed Jul 5, 2018
1 parent e8ad247 commit 30c9b5ef3f4a1273deaf483dfc10f7ff43a74607
Showing 1 changed file with 7 additions and 4 deletions.
@@ -92,11 +92,14 @@
echo "--------app_admin.php $cmd--------".PHP_EOL;
}

$config = FSOFConfigManager::getProviderAppDeploy($name);
if(isset($config['server']['log_cfg_file_path']) && !empty($config['server']['log_cfg_file_path']))
if (!empty($name))
{
\Logger::configure($config['server']['log_cfg_file_path']);
date_default_timezone_set('PRC');
$config = FSOFConfigManager::getProviderAppDeploy($name);
if(isset($config['server']['log_cfg_file_path']) && !empty($config['server']['log_cfg_file_path']))
{
\Logger::configure($config['server']['log_cfg_file_path']);
date_default_timezone_set('PRC');
}
}

//执行所有的控制命令

0 comments on commit 30c9b5e

Please sign in to comment.