1
This commit is contained in:
parent
e37a2b5f57
commit
a32c17f62d
@ -18,7 +18,7 @@ class MarketController extends BaseController {
|
|||||||
|
|
||||||
private function isTestMode()
|
private function isTestMode()
|
||||||
{
|
{
|
||||||
return isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == 443;
|
return isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == 443 && SERVER_ENV == _TEST;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function searchBox()
|
public function searchBox()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user