From 06f6a3dfb75dbccafa42fcc41079d63799bff79a Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Wed, 4 Dec 2024 11:23:04 +0200 Subject: [PATCH] Fixes error message --- app/helpers/database.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/helpers/database.php b/app/helpers/database.php index e52be11..2bce3e9 100644 --- a/app/helpers/database.php +++ b/app/helpers/database.php @@ -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. +
Check the platform settings")); } $db = new Database([ 'type' => 'sqlite',