registerTranslates(); if ($this->hasFile(self::FILENAME)) { Minz_View::appendStyle($this->getFileUrl(self::FILENAME, 'css', false)); } } #[\Override] public function handleConfigureAction(): void { parent::init(); $this->registerTranslates(); if (Minz_Request::isPost()) { $css_rules = html_entity_decode(Minz_Request::paramString('css-rules')); $this->saveFile(self::FILENAME, $css_rules); } $this->css_rules = ''; if ($this->hasFile(self::FILENAME)) { $this->css_rules = htmlentities($this->getFile(self::FILENAME) ?? ''); } } }