protected function _getFilePath($key) { $dir = $this->_path . $key; if (!is_dir($dir)) { throw new ConfigureException(__d('cake_dev', '指定されたテーマ名のディレクトリが存在しません: %s', $dir)); } return $dir . DS . self::CONFIG_FILE_NAME; }