Skip to content

Commit e4dbeea

Browse files
committed
revert to symlink
1 parent 4851599 commit e4dbeea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/cron.d/150-goaccess.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ public function onRunJob() {
149149
if(!@is_dir($goa_db_dir)) $app->system->mkdirpath($goa_db_dir);
150150

151151
if(is_link('/var/log/ispconfig/httpd/'.$domain.'/yesterday-access.log')) $app->system->unlink('/var/log/ispconfig/httpd/'.$domain.'/yesterday-access.log');
152-
$app->system->create_relative_link($logfile, '/var/log/ispconfig/httpd/'.$domain.'/yesterday-access.log');
153152

153+
symlink($logfile, '/var/log/ispconfig/httpd/'.$domain.'/yesterday-access.log');
154154
$app->system->exec_safe('chown -R ?:? ?', $username, $groupname, $statsdir);
155155

156156
$goamonth = date("n");

0 commit comments

Comments
 (0)