]> git.mxchange.org Git - core.git/blobdiff - index.php
Continued:
[core.git] / index.php
index b54c766135e0d55fd599451842699bb3280acb6a..9f6a0e17e4db4680a6a36ff8ef325c20a1755962 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,4 +1,12 @@
 <?php
+// Own namespace (watch out: core)
+namespace CoreFramework\EntryPoint;
+
+// Import framework stuff
+use CoreFramework\Configuration\FrameworkConfiguration;
+use CoreFramework\Helper\Application\ApplicationHelper;
+use CoreFramework\Loader\ClassLoader;
+
 /**
  * The main class with the entry point to the whole application. This class
  * "emulates" Java's entry point call. Additionally it covers local
@@ -117,7 +125,7 @@ final class ApplicationEntryPoint {
                        $applicationInstance = NULL;
 
                        // Is the class there?
-                       if (class_exists('ApplicationHelper')) {
+                       if (class_exists('CoreFramework\Helper\Application\ApplicationHelper')) {
                                // Get application instance
                                $applicationInstance = ApplicationHelper::getSelfInstance();
 
@@ -220,6 +228,3 @@ define('DEVELOPER', TRUE);
 
 // Call above main() method
 ApplicationEntryPoint::main();
-
-// [EOF]
-?>