Config Clean

This commit is contained in:
Carlos Ferreira 2017-03-26 02:08:16 +01:00
parent 861d1c5832
commit caaa4de878
6 changed files with 46 additions and 10 deletions

View File

@ -1,12 +1,17 @@
<?php
return [
'yii\bootstrap\BootstrapPluginAsset' => [
'depends' => [
'yii\web\JqueryAsset',
'yii\bootstrap\BootstrapAsset',
'humhub\assets\JuiBootstrapBridgeAsset'
]
]
];
/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2017 HumHub GmbH & Co. KG
* @license https://www.humhub.com/licences
*/
return [
'yii\bootstrap\BootstrapPluginAsset' => [
'depends' => [
'yii\web\JqueryAsset',
'yii\bootstrap\BootstrapAsset',
'humhub\assets\JuiBootstrapBridgeAsset'
]
]
];

View File

@ -1,4 +1,11 @@
<?php
/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2017 HumHub GmbH & Co. KG
* @license https://www.humhub.com/licences
*/
/**
* Configuration file for the "yii asset" console command.
*/

View File

@ -1,5 +1,11 @@
<?php
/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2017 HumHub GmbH & Co. KG
* @license https://www.humhub.com/licences
*/
Yii::setAlias('@webroot', realpath(__DIR__ . '/../../../'));
Yii::setAlias('@app', '@webroot/protected');
Yii::setAlias('@humhub', '@app/humhub');
@ -210,7 +216,7 @@ $config = [
'zendLucenceDataDir' => '@runtime/searchdb',
],
'curl' => [
// Check SSL certificates on CURL requests
// Check SSL certificates on cURL requests
'validateSsl' => true,
],
// Allowed languages limitation (optional)

View File

@ -1,5 +1,11 @@
<?php
/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2017 HumHub GmbH & Co. KG
* @license https://www.humhub.com/licences
*/
Yii::setAlias('@tests', dirname(__DIR__) . '/tests');
return [

View File

@ -1,5 +1,11 @@
<?php
/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2017 HumHub GmbH & Co. KG
* @license https://www.humhub.com/licences
*/
return [
// string, required, root directory of all source files
'sourcePath' => __DIR__ . DIRECTORY_SEPARATOR . '..',

View File

@ -1,5 +1,11 @@
<?php
/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2017 HumHub GmbH & Co. KG
* @license https://www.humhub.com/licences
*/
$config = [
'id' => 'humhub',
'bootstrap' => ['humhub\components\bootstrap\LanguageSelector'],