projects
/
core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Problem with additional config files fixed
[core.git]
/
inc
/
includes.php
diff --git
a/inc/includes.php
b/inc/includes.php
index
7e3f5c9
..
2cf6aaa
100644
(file)
--- a/
inc/includes.php
+++ b/
inc/includes.php
@@
-28,6
+28,10
@@
$cfg = FrameworkConfiguration::getInstance();
// Include the class loader function
require(sprintf("%sinc/loader/class_ClassLoader.php", $cfg->readConfig('base_path')));
// Include the class loader function
require(sprintf("%sinc/loader/class_ClassLoader.php", $cfg->readConfig('base_path')));
+// Shall we include additional configs where you can configure some things? Then
+// Load matching config
+ClassLoader::getInstance()->loadExtraConfigs();
+
// Does the user has an application specified?
if (!empty($_GET['app'])) {
// Set the application from string
// Does the user has an application specified?
if (!empty($_GET['app'])) {
// Set the application from string
@@
-78,9
+82,5
@@
if (is_dir(sprintf("%sdevel", $cfg->readConfig('base_path')))) {
ClassLoader::getInstance()->loadClasses('devel');
}
ClassLoader::getInstance()->loadClasses('devel');
}
-// Shall we include additional configs where you can configure some things? Then
-// Load matching config
-ClassLoader::getInstance()->loadExtraConfigs();
-
// [EOF]
?>
// [EOF]
?>