Source for file index.php
Documentation is available at index.php
* @author linea21 <info@linea21.com>
* @license http://opensource.org/licenses/gpl-3.0.html
include_once('../lib/lib_common.php');
session_start(); // necessary for adding a new entry in yellowpages
include_once('../config/define.php');
include_once('../config/server.php');
include_once('../admin/'. SQL. '.inc.php');
include_once('../lib/functions_auth.php');
include_once('../lib/lang.php');
include_once('../lib/items.php');
////////////////////////////////////////
include_once('../class/system/class.'. SQL. '.php');
$GLOBALS['sql_object'] = new $sql_entity;
$GLOBALS['sql_object'] -> DBInitialise();
$GLOBALS['sql_object'] -> DBConnexion();
include_once(THEME_PUBLIC_PATH. "index.php");
$GLOBALS['sql_object'] -> DBClose();
|