Suppression self::$content=... dans page.php

This commit is contained in:
SylvainLelievre 2021-06-25 08:12:30 +02:00
parent 44ab41289e
commit b0079ddc1f

View File

@ -490,8 +490,6 @@ class page extends common {
self::$pagesBarId[$parentPageId] = $this->getData(['page', $parentPageId, 'title']);
}
}
// Contenu de la page
self::$content = file_get_contents(self::DATA_DIR . self::$i18n . '/content/' . $this->getData(['page', $this->getUrl(2), 'content']));
// Valeurs en sortie
$this->addOutput([
'title' => $this->getData(['page', $this->getUrl(2), 'title']),