/** * Override method. * * Set browser as mobile, and not use curl as library request. */ protected function browserInit() { parent::browserInit(); }
/** * Override method. * * Set browser as mobile, and not use curl as library request. */ protected function browserInit() { parent::browserInit(); $this->browser->curl(false); }
/** * Override method. * * Set browser as mobile, and not use curl as library request. */ protected function browserInit() { parent::browserInit(); $user_agent_mobile = $this->configuration('user_agent_mobile'); if (!$user_agent_mobile) { $user_agent = $this->browser->getUserAgent('Mobile Browser'); $this->configuration('user_agent', $user_agent); $this->configuration('user_agent_mobile', true); $this->browser->options('user_agent', $user_agent); } $this->browser->curl(false); }