Skip to content

Commit

Permalink
fix #6475 コンテンツナビとローカルナビの表示問題を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
n1215 committed Aug 8, 2014
1 parent bf81c4a commit c3a54a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Baser/View/Helper/BcPageHelper.php
Expand Up @@ -67,7 +67,7 @@ public function __construct(View $View) {
*/
public function beforeRender($viewFile) {
//if ($this->request->params['controller'] == 'pages' && ($this->request->params['action'] == 'display' || $this->request->params['action'] == 'smartphone_display') && isset($this->request->params['pass'][0])) {
if ($this->request->params['controller'] == 'pages' && preg_match('/_display$/', $this->request->params['action']) && isset($this->request->params['pass'][0])) {
if ($this->request->params['controller'] == 'pages' && preg_match('/(^|_)display$/', $this->request->params['action']) && isset($this->request->params['pass'][0])) {
// @TODO ページ機能が.html拡張子なしに統合できたらコメントアウトされたものに切り替える
//$this->request->data = $this->Page->findByUrl('/'.impload('/',$this->request->params['pass'][0]));
$param = Configure::read('BcRequest.pureUrl');
Expand Down

0 comments on commit c3a54a8

Please sign in to comment.