File tree 4 files changed +8
-10
lines changed
4 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 10
10
*/
11
11
12
12
if (!defined ('HISITE_VENDOR_DIR ' )) {
13
- foreach ([dirname (__DIR__ ) . '/vendor ' , dirname (dirname (dirname (__DIR__ )))] as $ dir ) {
13
+ foreach ([dirname (dirname ( __DIR__ )) . '/vendor ' , dirname (dirname (dirname (dirname ( __DIR__ ) )))] as $ dir ) {
14
14
if (file_exists ($ dir . '/autoload.php ' )) {
15
15
define ('HISITE_VENDOR_DIR ' , $ dir );
16
16
break ;
Original file line number Diff line number Diff line change 9
9
* @copyright Copyright (c) 2016, HiQDev (http://hiqdev.com/)
10
10
*/
11
11
12
+ $ common = require __DIR__ . '/common.php ' ;
13
+
12
14
$ config = [
13
15
'components ' => [
14
16
'config ' => [
17
19
],
18
20
];
19
21
20
- return yii \helpers \ArrayHelper::merge (
21
- require __DIR__ . '/common.php ' ,
22
- $ config
23
- );
22
+ return yii \helpers \ArrayHelper::merge ($ common , $ config );
Original file line number Diff line number Diff line change 9
9
* @copyright Copyright (c) 2016, HiQDev (http://hiqdev.com/)
10
10
*/
11
11
12
+ $ common = require __DIR__ . '/common.php ' ;
13
+
12
14
$ config = [
13
15
'id ' => 'asset-packagist ' ,
14
16
'name ' => 'Asset Packagist ' ,
37
39
],
38
40
];
39
41
40
- return yii \helpers \ArrayHelper::merge (
41
- require __DIR__ . '/common.php ' ,
42
- $ config
43
- );
42
+ return yii \helpers \ArrayHelper::merge ($ common , $ config );
Original file line number Diff line number Diff line change 11
11
12
12
error_reporting (E_ALL & ~E_NOTICE );
13
13
14
- require_once __DIR__ . '/../src/_bootstrap .php ' ;
14
+ require_once __DIR__ . '/../src/config/bootstrap .php ' ;
You can’t perform that action at this time.
0 commit comments