作者 赵彬吉

update

@@ -37,7 +37,7 @@ class LogFormatterFactory @@ -37,7 +37,7 @@ class LogFormatterFactory
37 if (!file_exists($path)) { 37 if (!file_exists($path)) {
38 $directory = pathinfo($path, PATHINFO_DIRNAME); 38 $directory = pathinfo($path, PATHINFO_DIRNAME);
39 if(!file_exists($directory)){ 39 if(!file_exists($directory)){
40 - mkdir($directory, 0644, true); 40 + mkdir($directory, 0755, true);
41 chown($directory, 'www'); 41 chown($directory, 'www');
42 } 42 }
43 touch($path); 43 touch($path);