revert page edit script
This commit is contained in:
parent
037e95def6
commit
41711c9c2c
@ -576,7 +576,7 @@ class page extends common
|
|||||||
if (!is_dir(self::DATA_DIR . self::$siteContent . '/content')) {
|
if (!is_dir(self::DATA_DIR . self::$siteContent . '/content')) {
|
||||||
mkdir(self::DATA_DIR . self::$siteContent . '/content', 0755);
|
mkdir(self::DATA_DIR . self::$siteContent . '/content', 0755);
|
||||||
}
|
}
|
||||||
$content = empty($this->getInput('pageEditWysiwyg', null)) ? '<p></p>' : str_replace('<p></p>', '<p> </p>', $this->getInput('pageEditWysiwyg', null));
|
$content = empty($this->getInput('pageEditContent', null)) ? '<p></p>' : str_replace('<p></p>', '<p> </p>', $this->getInput('pageEditWysiwyg', null));
|
||||||
$this->setPage($pageId, $content, self::$siteContent);
|
$this->setPage($pageId, $content, self::$siteContent);
|
||||||
|
|
||||||
// Met à jour le sitemap
|
// Met à jour le sitemap
|
||||||
|
Loading…
x
Reference in New Issue
Block a user