0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

composer format time ... i shouldh ave a commit hook for this

This commit is contained in:
David Goodwin 2021-05-15 11:43:06 +01:00
parent ba17fbe6d6
commit 884147e6df

View File

@ -346,9 +346,8 @@ EOF;
echo "<p>Everything seems fine... attempting to create/update database structure</p>\n";
try {
require_once(dirname(__FILE__) . '/upgrade.php');
}
catch(\Exception $e) {
if($authenticated) {
} catch (\Exception $e) {
if ($authenticated) {
echo "<p class='h3 text-danger'>Exception message: {$e->getMessage()} - check logs!</p>";
}
echo "<p class='h3 text-danger'>Something went wrong while trying to apply database updates, a message should be logged - check PHP's error_log (" . ini_get('error_log') . ')</p>\n';