fix: import of translations for cronjobs was missing (#321)

refactor: retrieval of webroot path
chore: add sqlite to docker image
This commit is contained in:
Miguel Ribeiro
2024-05-13 17:45:59 +02:00
committed by GitHub
parent 46f933ade7
commit a524419e0a
10 changed files with 17 additions and 24 deletions
+5 -1
View File
@@ -1,6 +1,6 @@
<?php
$databaseFile = '/var/www/html/db/wallos.db';
$databaseFile = __DIR__ . '/../db/wallos.db';
$db = new SQLite3($databaseFile);
$db->busyTimeout(5000);
@@ -8,4 +8,8 @@ if (!$db) {
die('Connection to the database failed.');
}
require_once __DIR__ . '/../includes/i18n/languages.php';
require_once __DIR__ . '/../includes/i18n/getlang.php';
require_once __DIR__ . '/../includes/i18n/' . $lang . '.php';
?>
+1 -1
View File
@@ -1,3 +1,3 @@
<?php
$version = "v1.27.0";
$version = "v1.27.1";
?>