X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=index.php;h=3ba9290f823a382fa3c6d47cebf42227d0f9913e;hp=8a0bec3be1dd52b9dad0a75d128df578d7a336de;hb=78a010fef84895720e796842208f01dfb619c332;hpb=45bc9dea4a662eedad283e17cbeb71bb5f9eee21 diff --git a/index.php b/index.php index 8a0bec3b..3ba9290f 100644 --- a/index.php +++ b/index.php @@ -179,7 +179,7 @@ final class ApplicationEntryPoint { * Determines the correct absolute path for all includes only once per run. * Other calls of this method are being "cached". This is done by checking * a small list of common paths where the framework can reside and check if - * inc/config.php can be found. + * framework/config.php can be found. * * @return $corePath Base path (core) for all includes */ @@ -200,9 +200,9 @@ final class ApplicationEntryPoint { continue; } // END - if - // First create full-qualified file name (FQFN) to inc/config.php + // First create full-qualified file name (FQFN) to framework/config.php $fqfn = sprintf( - '%s%sinc%sconfig.php', + '%s%sframework%sconfig.php', $realPath, DIRECTORY_SEPARATOR, DIRECTORY_SEPARATOR, @@ -236,22 +236,22 @@ final class ApplicationEntryPoint { * @return void */ public static final function main () { - // Load config file, this provides $cfg - require(self::detectCorePath() . '/inc/config.php'); + // Load config file, this no longer provides $cfg + require(self::detectCorePath() . '/framework/config.php'); // Get a new configuration instance $cfg = FrameworkConfiguration::getSelfInstance(); // Load bootstrap class - require($cfg->getConfigEntry('base_path') . 'inc/bootstrap/class_BootstrapFramework.php'); + require($cfg->getConfigEntry('base_path') . 'framework/bootstrap/class_BootstrapFramework.php'); // ----- Below is deprecated ----- // Load all include files - require($cfg->getConfigEntry('base_path') . 'inc/includes.php'); + require($cfg->getConfigEntry('base_path') . 'framework/includes.php'); // Include the application selector - require($cfg->getConfigEntry('base_path') . 'inc/selector.php'); + require($cfg->getConfigEntry('base_path') . 'framework/selector.php'); } }