Commit 69eebffa by Alexander Makarov

Used dirname instead of realpath to avoid extra FS operations

parent 601115f8
<?php <?php
Yii::setAlias('common', realpath(__DIR__ . '/../')); Yii::setAlias('common', dirname(__DIR__));
Yii::setAlias('frontend', realpath(__DIR__ . '/../../frontend')); Yii::setAlias('frontend', dirname(dirname(__DIR__)) . '/frontend');
Yii::setAlias('backend', realpath(__DIR__ . '/../../backend')); Yii::setAlias('backend', dirname(dirname(__DIR__)) . '/backend');
Yii::setAlias('console', realpath(__DIR__ . '/../../console')); Yii::setAlias('console', dirname(dirname(__DIR__)) . '/console');
return [ return [
'adminEmail' => 'admin@example.com', 'adminEmail' => 'admin@example.com',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment