Continued with renaming-season:
[core.git] / index.php
index 8a0bec3be1dd52b9dad0a75d128df578d7a336de..3ba9290f823a382fa3c6d47cebf42227d0f9913e 100644 (file)
--- 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');
        }
 }