/** * (non-PHPdoc) * @see common_persistence_PhpFileDriver::getPath() */ protected function getPath($key) { $parts = explode('/', $key); $path = substr(parent::getPath(array_shift($parts)), 0, -4); foreach ($parts as $part) { $path .= DIRECTORY_SEPARATOR . $this->sanitizeReadableFileName($part); } return $path . '.conf.php'; }
protected function getPath($key) { return substr(parent::getPath($key), 0, -4) . '.conf.php'; }