From: Jason Woofenden Date: Tue, 24 Jan 2012 16:44:34 +0000 (-0500) Subject: API CHANGE: set $runnig_locally yourself X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=commitdiff_plain;h=c311c032739b97156dd373b270c0915bf248be76 API CHANGE: set $runnig_locally yourself --- 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: