X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fincludes.php;h=20128dbb0776595cae72ce0fbada5d5bde649aee;hp=61e8bb971e5f0cce769619492a337cd0e9bcff84;hb=7a41f3cbb6640f18a4205ef367de6bf050020ed6;hpb=2854583acb819fa091c3e0405e50f5e2139ba9b7 diff --git a/inc/includes.php b/inc/includes.php index 61e8bb97..20128dbb 100644 --- a/inc/includes.php +++ b/inc/includes.php @@ -26,7 +26,7 @@ $cfg = FrameworkConfiguration::getInstance(); // Include the class loader function -require(sprintf("%sinc/loader/class_ClassLoader.php", $cfg->readConfig('base_path'))); +require($cfg->readConfig('base_path') . 'inc/loader/class_ClassLoader.php'); // Shall we include additional configs where you can configure some things? Then // Load matching config @@ -67,7 +67,7 @@ spl_autoload_register('ClassLoader::autoLoad'); /** * Is the devel package included? */ -if (is_dir(sprintf("%sdevel", $cfg->readConfig('base_path')))) { +if (is_dir($cfg->readConfig('base_path') . "devel")) { /** * Load all development includes */