• Main Page
  • Related Pages
  • Classes
  • Files
  • Directories
  • File List
  • File Members

bootstrap.php

Go to the documentation of this file.
00001 <?php
00002 
00003 
00004 if (defined('E_DEPRECATED')) {
00005     //E_DEPRECATED is disabled particularly for PHP 5.3 as some 3rd party modules still uses deprecated functionality
00006     error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
00007 } else {
00008     error_reporting(E_ALL ^ E_NOTICE);
00009 }
00010 
00011 
00012 if (!defined('OX_BASE_PATH')) {
00013     define('OX_BASE_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR);
00014 }
00015 
00016 // custom functions file
00017 require_once OX_BASE_PATH . 'modules/functions.php';
00018 
00019 // Generic utility method file including autoloading definition
00020 require_once OX_BASE_PATH . 'core/oxfunctions.php';
00021 
00022 //sets default PHP ini params
00023 setPhpIniParams();
00024 
00025 //init config.inc.php file reader
00026 $oConfigFile = new oxConfigFile(OX_BASE_PATH . "config.inc.php");
00027 
00028 oxRegistry::set("oxConfigFile", $oConfigFile);

Generated by  doxygen 1.7.1