diff --git a/admin_debug.php b/admin_debug.php
index 5c92c6b30..514f880aa 100644
--- a/admin_debug.php
+++ b/admin_debug.php
@@ -5,7 +5,6 @@
require_once "config.php";
-
$folderPath = 'uploads';
function countFilesInDirectory($dir) {
@@ -190,7 +189,8 @@ function get_crontab() {
$mysqlVersion = $mysqli->server_version;
$operatingSystem = php_uname();
$webServer = $_SERVER['SERVER_SOFTWARE'];
-$errorLog = ini_get('error_log');
+$errorLog = ini_get('error_log') ?: "Debian/Ubuntu default is usually /var/log/apache2/error.log";
+$updates = fetchUpdates();
?>
@@ -207,7 +207,7 @@ function get_crontab() {
echo "MySQL Version: " . $mysqlVersion . "
";
echo "Operating System: " . $operatingSystem . "
";
echo "Web Server: " . $webServer . "
";
- echo "PHP Error Log: " . $errorLog
+ echo "Apache/PHP Error Log: " . $errorLog
?>
A database must be created before proceeding - click on the button below to get started.