|
|
@@ -44,7 +44,7 @@ Yii::setAlias('producer', dirname(dirname(__DIR__)) . '/producer'); |
|
|
|
|
|
|
|
$server_name = $_SERVER['SERVER_NAME'] ; |
|
|
|
Yii::setAlias('@domainName', (YII_ENV === 'dev') ? (($server_name == 'localhost') ? 'localhost' : 'laboiteapain-dev.net') : 'laboiteapain.net'); |
|
|
|
Yii::setAlias('@baseUrl', ($server_name == 'localhost') ? '/laboiteapain/' : '/'); |
|
|
|
Yii::setAlias('@baseUrl', ($server_name == 'localhost') ? '/distrib/' : '/'); |
|
|
|
Yii::setAlias('@baseUrlFrontend', (($server_name == 'localhost') ? '/frontend/web' : '')); |
|
|
|
Yii::setAlias('@baseUrlBackend', (($server_name == 'localhost') ? '/backend/web' : '')); |
|
|
|
Yii::setAlias('@baseUrlProducer', (($server_name == 'localhost') ? '/producer/web' : '')); |