From: Jason Woofenden Date: Thu, 29 Jun 2017 19:16:49 +0000 (-0400) Subject: drop ie 8 support X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=commitdiff_plain;h=b1833170625cf875d542995ac930a52bb7fb72d7 drop ie 8 support --- diff --git a/inc/cms.php b/inc/cms.php index 5075dd7..d7118e0 100644 --- a/inc/cms.php +++ b/inc/cms.php @@ -9,9 +9,6 @@ function enc_css_str($str) { } function cms_display($basename, &$tem) { - if(preg_match('/([.]l(ocal)?$)|^192[.]168[.]|^127.0.0.1$|^10[.]/', $_SERVER['HTTP_HOST'])) { - $GLOBALS['wfpl_main_template']->set('$running_locally'); - } $tem->set('$host', this_host()); $nav_items = db_get_assocs('cms_pages', "coalesce(nullif(nav_title,''), title) as title,filename", 'where navbar!=0 order by navbar'); if($nav_items) { diff --git a/template.html b/template.html index 794f585..9541cd5 100644 --- a/template.html +++ b/template.html @@ -3,10 +3,6 @@ ~$title html~~$cms_title html~ -