public function __construct() { parent::__construct(); // Try to set better auth than AUTH_PUBLIC depending on the origin of the IP if (S::i('auth') < AUTH_INTERNAL && IPAddress::getInstance()->is_x_internal()) { S::set('auth', AUTH_INTERNAL); } }
public function __construct() { parent::__construct(); }