parent
7b630c9021
commit
f81df14fde
|
|
@ -136,11 +136,11 @@
|
||||||
}
|
}
|
||||||
$filebytes = file_put_contents(_HYCONF.$row['server_name'].'.conf', $conf); //写入内容
|
$filebytes = file_put_contents(_HYCONF.$row['server_name'].'.conf', $conf); //写入内容
|
||||||
//access_log_path不存在的话创建
|
//access_log_path不存在的话创建
|
||||||
if (file_exists(!$row['access_log_path'])) {
|
if (!file_exists($row['access_log_path'])) {
|
||||||
file_put_contents($row['access_log_path'], '');
|
file_put_contents($row['access_log_path'], '');
|
||||||
}
|
}
|
||||||
//error_log_path不存在的话创建
|
//error_log_path不存在的话创建
|
||||||
if (file_exists(!$row['error_log_path'])) {
|
if (!file_exists($row['error_log_path'])) {
|
||||||
file_put_contents($row['error_log_path'], '');
|
file_put_contents($row['error_log_path'], '');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue