moved errorlog to var/errorlog

This commit is contained in:
following
2013-04-17 17:39:33 +02:00
parent 7ec5312960
commit b740d68653
2 changed files with 5 additions and 1 deletions

View File

@@ -97,7 +97,7 @@ function send_errormail($errmsg)
function admin_errormail($to, $errortype, $message, $headers)
{
global $opt;
$errorlog_dir = $opt['rootpath'] . 'cache2/errorlog';
$errorlog_dir = $opt['rootpath'] . 'var/errorlog';
$errorlog_path = $errorlog_dir . "/errorlog-" . date("Y-m-d");
$error_mail_limit = 65536; // send max 64 KB = ca. 10-30 errors per day/logfile