Skip to content

Commit 6a5ce9e

Browse files
committed
Updated for Composer Support
1 parent 882a10a commit 6a5ce9e

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

config/framework.config.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@
1313
* @license https://opensource.org/licenses/BSD-3-Clause This software is distributed under BSD-3-Clause Public License
1414
*/
1515

16-
/**
17-
* Basic initialization
18-
*/
19-
require_once(RELATIVE_PATH . "framework/Loader.php");
20-
use framework\Loader;
21-
2216
/**
2317
* Defines a constant for compressing HTML output
2418
*/
@@ -59,13 +53,20 @@
5953
*/
6054
define("CLASSES", serialize(array("framework", "framework/exceptions", APP_CONTROLLERS_PATH, APP_VIEWS_PATH, APP_MODELS_PATH, APP_MODELS_PATH . "/beans", "util/mysqlreflection")));
6155

56+
/**
57+
* Basic initialization for SUBSYSTEMS
58+
*/
59+
60+
require_once(RELATIVE_PATH . "framework/Loader.php");
61+
62+
use framework\Loader;
63+
6264
/**
6365
* Defines a constant for application's subsystems directories
6466
*/
6567
define ("SUBSYSTEMS",serialize(Loader::listFolders(APP_CONTROLLERS_PATH)));
6668

6769

68-
6970
/**
7071
* Includes Security configuration parameters.
7172
*/

0 commit comments

Comments
 (0)