Source for file dbdefs.inc.php

Documentation is available at dbdefs.inc.php

  1. <?php
  2. /**
  3.  * SQLite Database Class - Definitions (PHP 5).
  4.  *
  5.  * @author Sascha 'SieGeL' Pfalz <php@saschapfalz.de>
  6.  * @package db_SQLite
  7.  * @version 0.20 (07-Aug-2010)
  8.  *  $Id: dbdefs.inc.php,v 1.3 2010/08/07 14:34:13 siegel Exp $
  9.  * @license http://opensource.org/licenses/bsd-license.php BSD License
  10.  */
  11.  
  12. /**
  13.  * Default database filename to use for Connect() method.
  14.  * @see Connect
  15.  */
  16. define('SQLITEDB_DEFAULT_DB' './test.dbf');
  17.  
  18. /**
  19.  * Name of application using this class (used in print_error()).
  20.  */
  21. define('SQLITEDB_APPNAME' 'SQLite_class');
  22.  
  23. /**
  24.  * Modify default error handling mode if you wish.
  25.  * Default is DBOF_SHOW_NO_ERRORS if you omit this parameter.
  26.  */
  27. define('SQLITEDB_ERRORMODE'db_SQLite::DBOF_SHOW_ALL_ERRORS);
  28.  
  29. /**
  30.  * Set address to be shown in case of an error.
  31.  * If this is not set the default address of $_SERVER['SERVER_ADMIN'] is used.
  32.  */
  33. define('SQLITEDB_ADMINEMAIL' 'php@saschapfalz.de');
  34.  
  35. /**
  36.  * Set this define to 1 if you want auto-emails to be sent whenever an
  37.  * error occures. Default is 0 (disabled).
  38.  */
  39. define('SQLITEDB_SENTMAILONERROR'0);
  40.  
  41. /**
  42.  * You can define here additional parameters to be passed to the mail() call.
  43.  * Some servers may need the "-f enter@your.mail" parameter for example.
  44.  * Default is unset.
  45.  */
  46. //define('SQLITEDB_MAIL_EXTRAARGS' , '-fwebmaster@yourdomain.com');
  47.  
  48. /**
  49.  * Set this define to 1 if you want to use persistant connections as default connection.
  50.  * Default is 0, which means that sqlite_open is used instead of sqlite_popen.
  51.  */
  52. define('SQLITEDB_USE_PCONNECT'1);
  53. ?>

Documentation generated on Sat, 07 Aug 2010 20:00:53 +0200 by phpDocumentor 1.4.3