diff --git a/library/think/create.php b/library/think/create.php index 357ed77e..10c1f6fb 100644 --- a/library/think/create.php +++ b/library/think/create.php @@ -21,7 +21,7 @@ class Create return; } else { if (!touch($lockfile)) { - throw new Exception('目录 [ ' . APP_PATH . ' ] 不可写!'); + throw new Exception('应用目录[' . APP_PATH . ']不可写,目录无法自动生成!
请手动生成项目目录~'); } } foreach ($build as $module => $list) { diff --git a/library/think/slog.php b/library/think/slog.php index 094edaab..f43517fe 100644 --- a/library/think/slog.php +++ b/library/think/slog.php @@ -12,7 +12,7 @@ class Slog public static $start_time = 0; public static $start_memory = 0; public static $port = 1116; //SocketLog 服务的http的端口号 - public static $log_types = ['log', 'info', 'error', 'warn', 'table', 'alert']; + public static $log_types = ['log', 'info', 'error', 'warn', 'table', 'group','groupCollapsed','groupEnd','alert']; protected static $config = [ 'enable' => true, //是否记录日志的开关