🌍
English
Hi all,
since [Subversion] r4433, you can know use mysql or postgresql for database engine in piwigo. But you can also add your prefered database engine.
To do that, just to step :
1) you have to write all functions contains in include/dblayer/functions_mysql.inc.php adapted to your database engine in a file named with your engine functions_ENGINE_NAME.inc.php in the same directory
2) update include/dblayer/dblayers.inc.php to configure that new engine. That file is needed for installation to propose database engine if they are available.
For example : database engine SQLite
Functions file : include/dblayer/functions_sqlite.inc.php
Modifications in include/dblayer/dblayers.inc.php:
$dblayers['pgsql'] = array('engine' => 'SQLite', 'function_available' => 'sqlite_open' );
Offline