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

@@ -46,7 +46,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';
// Protection against setup in the following configuration : ITIL Ticket with Enhanced Portal selected but neither UserRequest or Incident. Which would crash the portal.