CMS  Version 3.9
custom_css.inc
Go to the documentation of this file.
1 <?php
2 Fakoli::using("html_editor");
3 
4 if (Settings::getValue("html_editor", "enable_custom_CSS"))
5 {
6  header("Content-type: text/css");
7  Fakoli::end(Settings::getValue("html_editor", "custom_CSS"));
8 }
static using()
Import the datamodels, views and manifest for the specified component(s).
Definition: core.inc:116
static end($message="")
Use this method to terminate execution of a script instead of using the php keywords exit() or die().
Definition: core.inc:1149
static getValue($component, $name)
Retrieve the value of the specified Setting.
Definition: settings.inc:104