Continued:
[core.git] / inc / includes.php
index 45068c84f8d58dca2c3253d22d323df72ecd9c59..d9f382300605f67d63d01e9941eb4a5c2c0bcf7f 100644 (file)
@@ -1,4 +1,8 @@
 <?php
+// Import framework stuff
+use CoreFramework\Configuration\FrameworkConfiguration;
+use CoreFramework\Loader\ClassLoader;
+
 /**
  * Loads more include files by using the generic class loader
  *
@@ -35,7 +39,7 @@ ClassLoader::getSelfInstance()->loadExtraConfigs();
 
 // Register auto-load function with the SPL
 // @TODO This makes the core depending on the SPL. But it should be installed anyway.
-spl_autoload_register('ClassLoader::autoLoad');
+spl_autoload_register('CoreFramework\Loader\ClassLoader::autoLoad');
 
 // Does the user has an application specified?
 // @TODO Find a nicer OOP-ed way for this