From 9c8f0a3a1bdcad477d59853d84b640eaa9e3eead Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 20 Feb 2014 08:59:06 +0000 Subject: Fix the issue with crash reporter even here as per pull #954 --- usr/local/www/crash_reporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr') diff --git a/usr/local/www/crash_reporter.php b/usr/local/www/crash_reporter.php index 853be0a..978e372 100755 --- a/usr/local/www/crash_reporter.php +++ b/usr/local/www/crash_reporter.php @@ -105,7 +105,7 @@ exec("/usr/bin/grep -vi warning /tmp/PHP_errors.log", $php_errors); mkdir("/var/crash", 0750, true); @file_put_contents("/var/crash/crashreport_header.txt", $crash_report_header); if(file_exists("/tmp/PHP_errors.log")) - copy("/tmp/PHP_errors.log", "/var/crash/"); + @copy("/tmp/PHP_errors.log", "/var/crash/PHP_errors.log"); exec("/usr/bin/gzip /var/crash/*"); $files_to_upload = glob("/var/crash/*"); echo "

"; -- cgit v1.1