]> git.mxchange.org Git - shipsimu.git/blobdiff - application/selector/loader.php
Dev mode deactivated
[shipsimu.git] / application / selector / loader.php
index 44dbb5c4bb3a822ef1281fa24b88e0fb09bab87e..ace39f5aeea890c36acd349785e38028137a283e 100644 (file)
@@ -18,7 +18,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
 // Is the application instance set?
@@ -28,10 +28,7 @@ if (!isset($application)) {
 }
 
 // Load all classes
-ClassLoader::getInstance()->loadClasses(sprintf("%s/%s/", FrameworkConfiguration::getInstance()->readConfig("application_path"), $application));
-
-// Include all classes
-ClassLoader::getInstance()->includeAllClasses();
+ClassLoader::getInstance()->loadClasses(sprintf("%s/%s/", FrameworkConfiguration::getInstance()->readConfig('application_path'), $application));
 
 // Clean up the global namespace
 unset($lowerClasses);