11
This commit is contained in:
@@ -14,6 +14,10 @@ if (!file_exists($logFile)) {
|
||||
touch($logFile);
|
||||
// 尝试设置权限(可能需要服务器用户权限)
|
||||
chmod($logFile, 0666);
|
||||
}else {
|
||||
if(!is_writable($logFile)) {
|
||||
chmod($logFile, 0666);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user