Documentation is available at dbconnect.inc.php
- <?php
- /**
- * Database connection file. Sets up SQLiteAdmin class instance.
- *
- * <pre>
- * PROJECT : SQLiteAdmin
- * A Crafty demonstration project.
- * AUTHOR : Crafty Team <crafty@zulan.net>
- * COPYRIGHT : (c) Thomas Ryssel, 2004
- *
- * FILE : [ROOT]\includes\dbconnect.inc.php
- * DESCRIPTION: Database connection file. Sets up SQLiteAdmin class instance.
- * </pre>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- * SQLiteAdmin is only a demonstration project for {@link Crafty}, so please be
- * aware of the fact that this has minor priority compared to the main project
- * itself.
- *
- * @package SQLiteAdmin
- * @author Crafty Team <crafty@zulan.net>
- * @copyright Copyright (c) Thomas Ryssel 2004
- * @version 1.0.1.2004.09.25
- * @link sqliteadmin.zulan.net
- * @license http://www.gnu.org/licenses/lgpl.html
- * GNU Lesser General Public License Version 2.1
- ***/
- if ($params['db_file']['isset']) {
- $sql = new SQLiteAdmin($params['db_file']['content']);
- if (empty($sql->filename) && isset($_REQUEST['mode'])
- && $_REQUEST['mode'] == 'Create') {
- $sql->createDB($params['db_file']['content']);
- }
- }
- ?>
Documentation generated on Sat, 19 Feb 2005 01:43:52 +0100 by phpDocumentor 1.3.0RC3