OXID eShop CE  4.9.9
 All Classes Files Functions Variables Pages
bootstrap.php
Go to the documentation of this file.
1 <?php
2 
3 
4 if (defined('E_DEPRECATED')) {
5  //E_DEPRECATED is disabled particularly for PHP 5.3 as some 3rd party modules still uses deprecated functionality
6  error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
7 } else {
8  error_reporting(E_ALL ^ E_NOTICE);
9 }
10 
11 
12 if (!defined('OX_BASE_PATH')) {
13  define('OX_BASE_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR);
14 }
15 
16 // custom functions file
17 require_once OX_BASE_PATH . 'modules/functions.php';
18 
19 // Generic utility method file including autoloading definition
20 require_once OX_BASE_PATH . 'core/oxfunctions.php';
21 
22 //sets default PHP ini params
24 
25 //init config.inc.php file reader
26 $oConfigFile = new oxConfigFile(OX_BASE_PATH . "config.inc.php");
27 
28 oxRegistry::set("oxConfigFile", $oConfigFile);