File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 13
13
// Load Composer autoloader:
14
14
require_once (dirname (__DIR__ ) . '/vendor/autoload.php ' );
15
15
16
- // Load configuration if present:
17
- $ conf = array ();
18
- $ conf ['b8 ' ]['app ' ]['namespace ' ] = 'PHPCI ' ;
19
- $ conf ['b8 ' ]['app ' ]['default_controller ' ] = 'Home ' ;
20
- $ conf ['b8 ' ]['view ' ]['path ' ] = dirname (__DIR__ ) . '/../PHPCI/View/ ' ;
21
-
22
16
// If the PHPCI config file is not where we expect it, try looking in
23
17
// env for an alternative config path.
24
18
$ configFile = dirname (__FILE__ ) . '/../PHPCI/config.yml ' ;
31
25
}
32
26
}
33
27
28
+ // Load configuration if present:
29
+ $ conf = array ();
30
+ $ conf ['b8 ' ]['app ' ]['namespace ' ] = 'PHPCI ' ;
31
+ $ conf ['b8 ' ]['app ' ]['default_controller ' ] = 'Home ' ;
32
+ $ conf ['b8 ' ]['view ' ]['path ' ] = dirname (__DIR__ ) . '/PHPCI/View/ ' ;
33
+
34
34
$ config = new b8 \Config ($ conf );
35
35
36
36
if (file_exists ($ configFile )) {
You can’t perform that action at this time.
0 commit comments