Révision 6f3d2063
Ajouté par Renato Botelho il y a presque 10 ans
usr/local/www/crash_reporter.php | ||
---|---|---|
123 | 123 |
array_map('unlink', glob("/var/crash/*")); |
124 | 124 |
// Erase the contents of the PHP error log |
125 | 125 |
fclose(fopen("/tmp/PHP_errors.log", 'w')); |
126 |
Header("Location: /");
|
|
126 |
header("Location: /");
|
|
127 | 127 |
exit; |
128 | 128 |
} else { |
129 | 129 |
$crash_files = glob("/var/crash/*"); |
Formats disponibles : Unified diff
Replace Header() calls by lowercase