JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
API CHANGE: set $runnig_locally yourself
authorJason Woofenden <jason@jasonwoof.com>
Tue, 24 Jan 2012 16:44:34 +0000 (11:44 -0500)
committerJason Woofenden <jason@jasonwoof.com>
Tue, 24 Jan 2012 16:44:34 +0000 (11:44 -0500)
run.php

diff --git a/run.php b/run.php
index 1561446..32f78e1 100644 (file)
--- a/run.php
+++ b/run.php
@@ -90,9 +90,6 @@ function run_php($dest = false) {
                $GLOBALS['wfpl_main_template'] = new tem();
                $GLOBALS['wfpl_main_template']->load("template.html");
                $GLOBALS['wfpl_main_template']->set('$basename', $basename);
-               if(preg_match('/([.]l(ocal)?$)|^[0-9.]*$/', $_SERVER['HTTP_HOST'])) {
-                       $GLOBALS['wfpl_main_template']->set('$running_locally');
-               }
        }
 
        # cms_get can return one of: