From c211f7aef368f5a5395b5f938524879da3d00271 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Tue, 29 Jun 2010 08:50:32 -0400 Subject: [PATCH] --- server/cron_daily.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/cron_daily.php b/server/cron_daily.php index dd32c46..36bb433 100644 --- a/server/cron_daily.php +++ b/server/cron_daily.php @@ -228,7 +228,7 @@ ####################################################################################################### // rotate the ispconfig.log when it exceeds a size of 10 MB -$logfile = '/var/log/ispconfig/ispconfig.log'); +$logfile = '/var/log/ispconfig/ispconfig.log'; if(is_file($logfile) && filesize($logfile) > 10000000) { exec("gzip -c $logfile > $logfile.1.gz"); exec("cat /dev/null > $logfile"); -- Gitblit v1.9.1