mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-04 13:18:00 +02:00
PSR-2 reformatting PHPDoc corrections
With minor corrections. Signed-off-by: Marcus Bointon <marcus@synchromedia.co.uk> Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
This commit is contained in:
committed by
Edward Z. Yang
parent
19eee14899
commit
fac747bdbd
@@ -5,7 +5,8 @@
|
||||
* or a module configuration value
|
||||
* @return Instance of HTMLPurifier_Config
|
||||
*/
|
||||
function phorum_htmlpurifier_get_config($default = false) {
|
||||
function phorum_htmlpurifier_get_config($default = false)
|
||||
{
|
||||
global $PHORUM;
|
||||
$config_exists = phorum_htmlpurifier_config_file_exists();
|
||||
if ($default || $config_exists || !isset($PHORUM['mod_htmlpurifier']['config'])) {
|
||||
@@ -21,7 +22,8 @@ function phorum_htmlpurifier_get_config($default = false) {
|
||||
return $config;
|
||||
}
|
||||
|
||||
function phorum_htmlpurifier_config_file_exists() {
|
||||
function phorum_htmlpurifier_config_file_exists()
|
||||
{
|
||||
return file_exists(dirname(__FILE__) . '/config.php');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user