removed ssl for beta
This commit is contained in:
parent
617b999fb0
commit
f78ccd23dd
@ -129,7 +129,7 @@ class Crunchbutton_App extends Cana_App {
|
|||||||
$r = Restaurant::o(74);
|
$r = Restaurant::o(74);
|
||||||
|
|
||||||
if (!c::getPagePiece(0)) {
|
if (!c::getPagePiece(0)) {
|
||||||
header('Location: https://'.$_SERVER['HTTP_HOST'].'/'.$r->community()->permalink.'/'.$r->permalink);
|
header('Location: http://'.$_SERVER['HTTP_HOST'].'/'.$r->community()->permalink.'/'.$r->permalink);
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
} elseif (c::getPagePiece(0) != 'api' && (c::getPagePiece(0) != 'providence' && c::getPagePiece(0) != $r->permalink)) {
|
} elseif (c::getPagePiece(0) != 'api' && (c::getPagePiece(0) != 'providence' && c::getPagePiece(0) != $r->permalink)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user