Commit 77d8a9ea authored by tbrehm's avatar tbrehm
Browse files

Fixed Bug: Unable to read /var/log/ispconfig/ispconfig.log

parent 13d32306
......@@ -663,6 +663,7 @@ class installer_dist extends installer_base {
//* Create the ispconfig log directory
if(!is_dir('/var/log/ispconfig')) mkdir('/var/log/ispconfig');
if(!is_file('/var/log/ispconfig/ispconfig.log')) exec('touch /var/log/ispconfig/ispconfig.log');
}
......
......@@ -681,6 +681,7 @@ class installer_dist extends installer_base {
//* Create the ispconfig log directory
if(!is_dir('/var/log/ispconfig')) mkdir('/var/log/ispconfig');
if(!is_file('/var/log/ispconfig/ispconfig.log')) exec('touch /var/log/ispconfig/ispconfig.log');
}
......
......@@ -871,6 +871,7 @@ class installer_base {
//* Create the ispconfig log directory
if(!is_dir('/var/log/ispconfig')) mkdir('/var/log/ispconfig');
if(!is_file('/var/log/ispconfig/ispconfig.log')) exec('touch /var/log/ispconfig/ispconfig.log');
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment