summaryrefslogtreecommitdiffstats
path: root/code/subst.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'code/subst.inc.php')
-rw-r--r--code/subst.inc.php17
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);
- }
- }
-?>