private function getConfFilePathImpl($file_suffix = null, $inc_version = false, $version = null) { $conf_file_path = parent::getConfFilePath(); if ($this->getCreationMode() != self::UI_CONF_CREATION_MODE_MANUAL) { if (!$conf_file_path || $inc_version || $version) { if (!$this->getId()) { return null; } $conf_file_path = $this->createConfFilePath($version); $this->setConfFilePath($conf_file_path); } } // will fix the current problem in the DB- we hold the root in the conf_file_path $conf_file_path = myContentStorage::getFSContentRootPath() . str_replace("/web/", "", $conf_file_path); if ($file_suffix) { // use the file_suffix before the extension $extension = pathinfo($conf_file_path, PATHINFO_EXTENSION); $conf_file_path = str_replace($extension, "{$file_suffix}.{$extension}", $conf_file_path); } return $conf_file_path; }