mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01: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:
@@ -18,7 +18,9 @@
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
*/
|
||||
|
||||
require_once __DIR__.'/approot.inc.php';
|
||||
require_once APPROOT.'/lib/autoload.php';
|
||||
|
||||
// Require here files containing PHP instructions
|
||||
if (! isset($GLOBALS['bBypassAutoload']) || $GLOBALS['bBypassAutoload'] == false)
|
||||
{
|
||||
require_once APPROOT.'/lib/autoload.php';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user