This commit is contained in:
thinkphp
2015-12-10 19:51:32 +08:00
parent b39b4ed15d
commit 10cd211758
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ class Create
return;
} else {
if (!touch($lockfile)) {
throw new Exception('目录 [ ' . APP_PATH . ' ] 不可写!');
throw new Exception('应用目录[' . APP_PATH . ']不可写,目录无法自动生成!<BR>请手动生成项目目录~');
}
}
foreach ($build as $module => $list) {

View File

@@ -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, //是否记录日志的开关