public function admin_entry_page_files() { $this->_checkSubmitToken(); $pagesPath = APP . 'View' . DS . 'Pages'; $result = $this->Page->entryPageFiles($pagesPath); clearAllCache(); $this->setMessage($result['all'] . ' ページ中 ' . $result['insert'] . ' ページの新規登録、 ' . $result['update'] . ' ページの更新に成功しました。'); $this->redirect(array('controller' => 'tools', 'action' => 'index')); }