mirror of
https://github.com/e107inc/e107.git
synced 2025-01-19 05:28:10 +01:00
10 lines
324 B
BlitzBasic
Executable File
10 lines
324 B
BlitzBasic
Executable File
if(!$postID) { return ''; }
|
|
if($postID == 'admin' || check_class($pref['php_bbcode'], '', $postID))
|
|
{
|
|
$search = array(""", "'", "$", '<br />', E_NL, "->");
|
|
$replace = array('"', "'", "$", "\n", "\n", "->");
|
|
$code_text = str_replace($search, $replace, $code_text);
|
|
return eval($code_text);
|
|
}
|
|
return '';
|