/** * Constructor * * @throws Horde_Http_Exception */ public function __construct($args = array()) { if (!ini_get('allow_url_fopen')) { throw new Horde_Http_Exception('allow_url_fopen must be enabled'); } parent::__construct($args); }
/** * Constructor * * @throws Horde_Http_Exception */ public function __construct($args = array()) { if (!extension_loaded('curl')) { throw new Horde_Http_Exception('The curl extension is not installed. See http://php.net/curl.installation'); } parent::__construct($args); }
/** * Constructor. * * @throws Horde_Http_Exception */ public function __construct($args = array()) { parent::__construct($args); }