fix

parent a1458b6f
...@@ -3,4 +3,6 @@ return [ ...@@ -3,4 +3,6 @@ return [
'adminEmail' => 'admin@example.com', 'adminEmail' => 'admin@example.com',
'name' => 'Арт Проект', 'name' => 'Арт Проект',
'user.passwordResetTokenExpire' => 3600, 'user.passwordResetTokenExpire' => 3600,
'frontUrl' => 'http://task-on.com',
'backUrl' => 'http://taskon.task-on.com'
]; ];
...@@ -81,11 +81,11 @@ class BidFile extends \common\components\ActiveRecordModel ...@@ -81,11 +81,11 @@ class BidFile extends \common\components\ActiveRecordModel
public function getUrl() public function getUrl()
{ {
return Yii::$app->params['frontUrl'] . self::FILE_FOLDER . $this->filename; return Yii::$app->params['backUrl'] . self::FILE_FOLDER . $this->filename;
} }
public static function path() public static function path()
{ {
return Yii::getAlias('@frontend/web') . self::FILE_FOLDER; return Yii::getAlias('@backend/web') . self::FILE_FOLDER;
} }
} }
...@@ -2,4 +2,6 @@ ...@@ -2,4 +2,6 @@
return [ return [
'adminEmail' => 'admin@example.com', 'adminEmail' => 'admin@example.com',
'name' => 'Арт Проект', 'name' => 'Арт Проект',
'frontUrl' => 'http://task-on.com',
'backUrl' => 'http://taskon.task-on.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