2009-12-02 20:27:06 +00:00
|
|
|
<?php
|
|
|
|
// +-----------------------------------------------------------------------+
|
|
|
|
// | Piwigo - a PHP based picture gallery |
|
|
|
|
// +-----------------------------------------------------------------------+
|
2010-03-19 22:37:10 +00:00
|
|
|
// | Copyright(C) 2008-2010 Piwigo Team http://piwigo.org |
|
2009-12-02 20:27:06 +00:00
|
|
|
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
|
|
|
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
|
|
|
// +-----------------------------------------------------------------------+
|
|
|
|
// | This program is free software; you can redistribute it and/or modify |
|
|
|
|
// | it under the terms of the GNU General Public License as published by |
|
|
|
|
// | the Free Software Foundation |
|
|
|
|
// | |
|
|
|
|
// | This program is distributed in the hope that it will be useful, but |
|
|
|
|
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
|
|
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
|
|
|
// | General Public License for more details. |
|
|
|
|
// | |
|
|
|
|
// | You should have received a copy of the GNU General Public License |
|
|
|
|
// | along with this program; if not, write to the Free Software |
|
|
|
|
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
|
|
|
// | USA. |
|
|
|
|
// +-----------------------------------------------------------------------+
|
|
|
|
|
|
|
|
$dblayers = array();
|
|
|
|
$dblayers['mysql'] = array('engine' => 'MySQL',
|
|
|
|
'function_available' => 'mysql_connect'
|
|
|
|
);
|
|
|
|
|
|
|
|
$dblayers['pgsql'] = array('engine' => 'PostgreSQL',
|
|
|
|
'function_available' => 'pg_connect'
|
|
|
|
);
|
2010-01-28 11:30:36 +00:00
|
|
|
|
|
|
|
$dblayers['sqlite'] = array('engine' => 'SQLite',
|
2010-05-07 09:09:44 +00:00
|
|
|
'class_available' => 'SQLite3'
|
2010-01-28 11:30:36 +00:00
|
|
|
);
|
2010-02-26 20:10:51 +00:00
|
|
|
|
2010-03-21 23:41:19 +00:00
|
|
|
$dblayers['pdo-sqlite'] = array('engine' => 'SQLite',
|
2010-02-26 20:10:51 +00:00
|
|
|
'class_available' => 'PDO'
|
|
|
|
);
|
|
|
|
|
2009-12-02 20:27:06 +00:00
|
|
|
?>
|