From c311c032739b97156dd373b270c0915bf248be76 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Tue, 24 Jan 2012 11:44:34 -0500 Subject: [PATCH] API CHANGE: set $runnig_locally yourself --- run.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/run.php b/run.php index 1561446..32f78e1 100644 --- 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: -- 1.7.10.4