Fixes error message

main
Yasen Pramatarov 2024-12-04 11:23:04 +02:00
parent da08ad54ca
commit 06f6a3dfb7
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@ function connectDB($config, $database = '', $dbFile = '', $platformId = '') {
if ($database === 'jilo') {
try {
if (!$dbFile || !file_exists($dbFile)) {
throw new Exception(getError("Invalid platform ID \"{$platformId}\", database file \"{$dbFile}\" not found."));
throw new Exception(getError("Invalid platform ID \"{$platformId}\", database file \"{$dbFile}\" not found.
<br />Check the <a href=\"?page=config&item=platform&platform={$platformId}&action=edit\">platform settings</a>"));
}
$db = new Database([
'type' => 'sqlite',