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:
bruno DA SILVA
2019-11-08 16:08:05 +01:00
parent 1194c5c7fe
commit 08c1f4f072
58 changed files with 8 additions and 60 deletions

View File

@@ -29,7 +29,6 @@ function StatusGetAppRoot($sAppRootFilename = 'approot.inc.php')
throw new Exception($sAppRootFilename . ' is not readable');
}
@require_once($sAppRootFile);
@require_once(APPROOT.'bootstrap.inc.php');
}
/**