aded spicywith to ssl force

This commit is contained in:
arzynik 2012-12-11 14:01:36 -05:00
parent 0ef29c4bc2
commit 010d1ae1f9

View File

@ -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') {