diff options
Diffstat (limited to 'code/util.inc.php')
-rw-r--r-- | code/util.inc.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/code/util.inc.php b/code/util.inc.php index 3ee2489..b2cf954 100644 --- a/code/util.inc.php +++ b/code/util.inc.php @@ -1,15 +1,4 @@ <?PHP - function Subst($string, $subst = array()) { - $tr = array('$$' => '$'); - - foreach($subst as $key => $value) - $tr['$' . $key] = $value; - - krsort($tr); - - return strtr($string, $tr); - } - if(get_magic_quotes_gpc()) { function Unquote($string) { return stripslashes($string); |