X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=index.php;h=ecf66b48876f5635b4848a966b756595673f1fec;hp=0a3ef741158afd0be661a3d36b0c1b63d8e4c89b;hb=4e95c4e90f08f67f43591eaaa0c006f923d8bacf;hpb=b1683de32141e80fb17d5ff1a6f460186e22d961;ds=sidebyside diff --git a/index.php b/index.php index 0a3ef741..ecf66b48 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,18 @@ getConfigEntry('base_path') . 'inc/includes.php'); + // Load bootstrap file + require(self::detectFrameworkPath() . 'bootstrap/bootstrap.inc.php'); - // Include the application selector - require($cfg->getConfigEntry('base_path') . 'inc/selector.php'); - } // END - main() -} // END - class + // Get a new configuration instance + $cfg = FrameworkConfiguration::getSelfInstance(); + } +} // Developer mode active? Comment out if no dev! define('DEVELOPER', TRUE); @@ -210,8 +262,5 @@ define('DEVELOPER', TRUE); //xdebug_start_trace(); -// Do not remove the following line: +// Call above main() method ApplicationEntryPoint::main(); - -// [EOF] -?>