Fixes error message
parent
da08ad54ca
commit
06f6a3dfb7
|
@ -7,7 +7,8 @@ function connectDB($config, $database = '', $dbFile = '', $platformId = '') {
|
||||||
if ($database === 'jilo') {
|
if ($database === 'jilo') {
|
||||||
try {
|
try {
|
||||||
if (!$dbFile || !file_exists($dbFile)) {
|
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([
|
$db = new Database([
|
||||||
'type' => 'sqlite',
|
'type' => 'sqlite',
|
||||||
|
|
Loading…
Reference in New Issue