diff --git a/system/database.php b/system/database.php index e5e9657b..d0f3fbda 100644 --- a/system/database.php +++ b/system/database.php @@ -110,10 +110,12 @@ defined('MYAAC') or die('Direct access not allowed!'); return; // installer will take care of this } - throw new SensitiveException('ERROR: Cannot connect to MySQL database.' . PHP_EOL . - 'Possible reasons:' . PHP_EOL . - ' * MySQL is not configured propertly in config.lua.' . PHP_EOL . - ' * MySQL server is not running.' . PHP_EOL . - $error->getMessage()); + die('ERROR: Cannot connect to MySQL database.
' . + 'Possible reasons:' . + '' . $error); - } \ No newline at end of file + } +?> \ No newline at end of file