diff --git a/system/logger.php b/system/logger.php index 06cb53c..fdb75d0 100644 --- a/system/logger.php +++ b/system/logger.php @@ -14,6 +14,7 @@ if(!check_function_exists("write_visit_log")) { $fw = append_storage_file($data, array( "storage_type" => "logs", "filename" => "network.log", + "chmod" => 0644, )); } @@ -27,6 +28,7 @@ if(!check_function_exists("write_common_log")) { return append_storage_file($msg, array( "storage_type" => "logs", "filename" => "common.log", + "chmod" => 0644, )); } }