diff --git a/public/setup.php b/public/setup.php index 15ff6ab6..db93590a 100644 --- a/public/setup.php +++ b/public/setup.php @@ -338,7 +338,7 @@ if ($authenticated) { try { $db = db_connect(); } catch (\Exception $e) { - echo "

Something went wrong while trying to connect to the database. A message should be logged - check PHP's error_log (" . ini_get('error_log') . ')

\n'; + echo "

Something went wrong while trying to connect to the database. A message should be logged - check PHP's error_log (" . ini_get('error_log') . ')

'; error_log("Couldn't perform PostfixAdmin database update - failed to connect to db? " . $e->getMessage() . " Trace: " . $e->getTraceAsString()); } @@ -350,7 +350,7 @@ if ($db) { if ($authenticated) { echo "

Exception message: {$e->getMessage()} - check logs!

"; } - echo "

Something went wrong while trying to apply database updates, a message should be logged - check PHP's error_log (" . ini_get('error_log') . ')

\n'; + echo "

Something went wrong while trying to apply database updates, a message should be logged - check PHP's error_log (" . ini_get('error_log') . ')

'; error_log("Couldn't perform PostfixAdmin database update via upgrade.php - " . $e->getMessage() . " Trace: " . $e->getTraceAsString()); } } else {