12 if ($default || $config_exists || !isset($PHORUM[
'mod_htmlpurifier'][
'config'])) {
14 include(dirname(__FILE__) .
'/config.default.php');
16 include(dirname(__FILE__) .
'/config.php');
18 unset($PHORUM[
'mod_htmlpurifier'][
'config']);
27 return file_exists(dirname(__FILE__) .
'/config.php');
$PHORUM['mod_htmlpurifier']['directives']
phorum_htmlpurifier_get_config($default=false)
Initializes the appropriate configuration from either a PHP file or a module configuration value...
static create($config, $schema=null)
Convenience constructor that creates a config object based on a mixed var.
static createDefault()
Convenience constructor that creates a default configuration object.
phorum_htmlpurifier_config_file_exists()