mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
- fix for e00ae3d
This commit is contained in:
parent
1c86b1f606
commit
768cb550d6
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue