mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 02:39:25 +01:00
Change lighttpd log file names
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
require_once('func.php');
|
||||
$ERRORLOG = getenv('PHP_ERROR_LOG');
|
||||
if (empty($ERRORLOG)) {
|
||||
$ERRORLOG = '/var/log/lighttpd/error.log';
|
||||
$ERRORLOG = '/var/log/lighttpd/error-pihole.log';
|
||||
|
||||
if (!file_exists($ERRORLOG) || !is_writable($ERRORLOG)) {
|
||||
$ERRORLOG = '/var/log/apache2/error.log';
|
||||
|
||||
Reference in New Issue
Block a user