Browse Source

Better alias paths for advanced application

tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
91b61692c5
  1. 6
      apps/advanced/common/config/params.php

6
apps/advanced/common/config/params.php

@ -1,8 +1,8 @@
<?php <?php
Yii::setAlias('common', __DIR__ . '/../'); Yii::setAlias('common', realpath(__DIR__ . '/../'));
Yii::setAlias('frontend', __DIR__ . '/../../frontend'); Yii::setAlias('frontend', realpath(__DIR__ . '/../../frontend'));
Yii::setAlias('backend', __DIR__ . '/../../backend'); Yii::setAlias('backend', realpath(__DIR__ . '/../../backend'));
return [ return [
'adminEmail' => 'admin@example.com', 'adminEmail' => 'admin@example.com',

Loading…
Cancel
Save