mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-22 00:32:16 +02:00
autoload rework
- bootstrap.inc.php is now included by approot.inc.php - remove all unescessaries includes of bootstrap.inc.php - in bootstrap.inc.php autoload can be bypassed using a feature flag because "why not"
This commit is contained in:
@@ -32,7 +32,6 @@ else
|
||||
{
|
||||
require_once __DIR__.'/../../../approot.inc.php'; // When in datamodels/x.x folder
|
||||
}
|
||||
require_once APPROOT.'/bootstrap.inc.php';
|
||||
require_once APPROOT.'application/startup.inc.php';
|
||||
|
||||
// Load frontal
|
||||
|
||||
@@ -38,7 +38,6 @@ if (!defined('MODULESROOT'))
|
||||
{
|
||||
require_once __DIR__.'/../../../../../approot.inc.php'; // When in datamodels/x.x folder
|
||||
}
|
||||
require_once APPROOT.'/bootstrap.inc.php';
|
||||
require_once APPROOT.'/application/startup.inc.php';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user