File tree Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 1010 */
1111
1212if (!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 ) {
1414 if (file_exists ($ dir . '/autoload.php ' )) {
1515 define ('HISITE_VENDOR_DIR ' , $ dir );
1616 break ;
Original file line number Diff line number Diff line change 99 * @copyright Copyright (c) 2016, HiQDev (http://hiqdev.com/)
1010 */
1111
12+ $ common = require __DIR__ . '/common.php ' ;
13+
1214$ config = [
1315 'components ' => [
1416 'config ' => [
1719 ],
1820];
1921
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 99 * @copyright Copyright (c) 2016, HiQDev (http://hiqdev.com/)
1010 */
1111
12+ $ common = require __DIR__ . '/common.php ' ;
13+
1214$ config = [
1315 'id ' => 'asset-packagist ' ,
1416 'name ' => 'Asset Packagist ' ,
3739 ],
3840];
3941
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 1111
1212error_reporting (E_ALL & ~E_NOTICE );
1313
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