diff options
Diffstat (limited to 'code/subst.inc.php')
-rw-r--r-- | code/subst.inc.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/code/subst.inc.php b/code/subst.inc.php deleted file mode 100644 index 72935a2..0000000 --- a/code/subst.inc.php +++ /dev/null @@ -1,17 +0,0 @@ -<?PHP - if(!defined('SUBST_INC')) { - define('SUBST_INC', 1); - - function Subst($string, $subst = array()) { - $tr['$$'] = '$'; - - while(current($subst)) { - $tr['$' . key($subst)] = $subst[key($subst)]; - - next($subst); - } - - return strtr($string, $tr); - } - } -?> |