mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
修正
This commit is contained in:
@@ -21,7 +21,7 @@ class Create
|
|||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
if (!touch($lockfile)) {
|
if (!touch($lockfile)) {
|
||||||
throw new Exception('目录 [ ' . APP_PATH . ' ] 不可写!');
|
throw new Exception('应用目录[' . APP_PATH . ']不可写,目录无法自动生成!<BR>请手动生成项目目录~');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
foreach ($build as $module => $list) {
|
foreach ($build as $module => $list) {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ class Slog
|
|||||||
public static $start_time = 0;
|
public static $start_time = 0;
|
||||||
public static $start_memory = 0;
|
public static $start_memory = 0;
|
||||||
public static $port = 1116; //SocketLog 服务的http的端口号
|
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 = [
|
protected static $config = [
|
||||||
'enable' => true, //是否记录日志的开关
|
'enable' => true, //是否记录日志的开关
|
||||||
|
|||||||
Reference in New Issue
Block a user