diff options
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -323,12 +323,14 @@ static function convertregex($pattern, $p = array()) if (!$p['casesensitive']) $modifiers .= 'i'; + if ($p['exec']) + it::fatal("Option exec to it::replace has been removed for security reasons"); + foreach (array( 'multiline' => 'm', 'singleline' => 's', 'utf8' => 'u', 'extended' => 'x', - 'exec' => 'e', ) as $key => $mod) { if ($p[$key]) |