aded spicywith to ssl force
This commit is contained in:
parent
0ef29c4bc2
commit
010d1ae1f9
@ -78,7 +78,7 @@ class Crunchbutton_App extends Cana_App {
|
|||||||
exit;
|
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);
|
error_reporting(E_ERROR | E_PARSE);
|
||||||
|
|
||||||
if ($_SERVER['HTTPS'] != 'on') {
|
if ($_SERVER['HTTPS'] != 'on') {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user