This commit is contained in:
maxpozdeev 2026-01-29 16:03:50 +03:00
parent 1c86b1f606
commit 768cb550d6

View file

@ -82,7 +82,7 @@ class Database_Sqlite3 extends Database_Abstract
$options = array(
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION
);
if (PHP_VERSION_ID < 70500) {
if (PHP_VERSION_ID < 80500) {
$this->dbh = new PDO("sqlite:$filename", null, null, $options); //throws PDOException
# Deprecated since PHP 8.5
$this->dbh->sqliteCreateFunction('utf8_lower', [$this, 'utf8_lower'], 1);