Location: PHPKode > scripts > OoMySql > init.inc.php
<?
/* 	init page 
	here we define all globals and include our baseclasses */
DEFINE("LOGFILE_PATH", "logs/");
DEFINE("LOGFILE", "test");
DEFINE("ROTATION_PERIOD","MONTHLY");
DEFINE("ERROR_MODE","printout");

/*	include and invoke our logger class */	
require_once("logger.class.php");
$LOGGER = new Logger(LOGFILE_PATH,LOGFILE,ROTATION_PERIOD);

/*	include and invoke our exception class */
require_once("exception.class.php");
$ERROR = new Exception(LOGFILE_PATH,LOGFILE,ROTATION_PERIOD,ERROR_MODE);

/*	include our base sql class	*/
require_once("mysql.class.php");
/*	include our database class	*/
require_once("mysqldb.class.php");
/*	include our table class	*/
require_once("mysqltable.class.php");
?>
Return current item: OoMySql