Commit b270445b8fefa837f69da2dabe650b2ea2fe19b3

Authored by Administrator
1 parent f7f95504

14.06.16

frontend/config/main.php
... ... @@ -79,7 +79,6 @@ return [
79 79 ],
80 80 'priceparam.xml' => 'site/priceparam',
81 81 'price.xml' => 'site/price',
82   - // 'robots.txt' => 'site/robots',
83 82 'smstest' => 'site/sms',
84 83 // 'catalog' => 'catalog/all',
85 84 // 'catalog/<translit:\w+>' => 'catalog/index',
... ...
frontend/controllers/TextController.php
... ... @@ -12,7 +12,7 @@ class TextController extends Controller
12 12  
13 13 public function actionIndex()
14 14 {
15   -
  15 +
16 16 if(!$modelText = Page::find()->where(['translit'=>$_GET['translit']])->one())
17 17 throw new HttpException(404, 'Данной странице не существует!');
18 18  
... ...