From 010d1ae1f91b618d087765edbf0c32e944afdbc7 Mon Sep 17 00:00:00 2001 From: arzynik Date: Tue, 11 Dec 2012 14:01:36 -0500 Subject: [PATCH] aded spicywith to ssl force --- include/library/Crunchbutton/App.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/library/Crunchbutton/App.php b/include/library/Crunchbutton/App.php index 418593598..9a5c8adc8 100755 --- a/include/library/Crunchbutton/App.php +++ b/include/library/Crunchbutton/App.php @@ -78,7 +78,7 @@ class Crunchbutton_App extends Cana_App { exit; } - if ($params['env'] == 'live' && !$cli && $_SERVER['__HTTP_HOST'] == '_DOMAIN_') { + if ($params['env'] == 'live' && !$cli && ($_SERVER['__HTTP_HOST'] == '_DOMAIN_' || $_SERVER['__HTTP_HOST'] == 'spicywithdelivery.com')) { error_reporting(E_ERROR | E_PARSE); if ($_SERVER['HTTPS'] != 'on') {