作者 赵彬吉

update

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