mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
php bb additional check
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
|
global $pref;
|
||||||
if(!$postID) { return ''; }
|
if(!$postID) { return ''; }
|
||||||
|
if($pref['php_bbcode'] == e_UC_NOBODY) return '';
|
||||||
if($postID == 'admin' || check_class($pref['php_bbcode'], '', $postID))
|
if($postID == 'admin' || check_class($pref['php_bbcode'], '', $postID))
|
||||||
{
|
{
|
||||||
$search = array(""", "'", "$", '<br />', E_NL, "->");
|
$search = array(""", "'", "$", '<br />', E_NL, "->");
|
||||||
|
Reference in New Issue
Block a user