Skip to content

Commit

Permalink
Removed skeeks/cms/base/Module
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Apr 20, 2016
1 parent ade76e9 commit 66c8d5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CmsSearchComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use skeeks\cms\assets\CmsToolbarAsset;
use skeeks\cms\assets\CmsToolbarAssets;
use skeeks\cms\assets\CmsToolbarFancyboxAsset;
use skeeks\cms\components\Cms;
use skeeks\cms\helpers\UrlHelper;
use skeeks\cms\models\CmsContent;
use skeeks\cms\models\CmsContentElement;
Expand Down
2 changes: 1 addition & 1 deletion models/CmsSearchPhrase.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function rules()
return null;
}],

['ip', 'default', 'value' => \skeeks\cms\helpers\Request::getRealUserIp()],
['ip', 'default', 'value' => \Yii::$app->request->userIP],
]);
}

Expand Down
2 changes: 1 addition & 1 deletion views/result/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<?= \skeeks\cms\cmsWidgets\contentElements\ContentElementsCmsWidget::widget([
'namespace' => 'ContentElementsCmsWidget-search-result',
'viewFile' => '@skeeks/cms/views/search/_widget',
'viewFile' => '@skeeks/cms/search/views/result/_widget',
'enabledCurrentTree' => \skeeks\cms\components\Cms::BOOL_N,
'dataProviderCallback' => function(\yii\data\ActiveDataProvider $dataProvider)
{
Expand Down

0 comments on commit 66c8d5c

Please sign in to comment.