Adding Proxy
-
Hey,
after a couple of hours searching for a problem with curl connection problems, I just want to give you the recommendation to use the WordPress constant
WP_PROXY_HOST
andWP_PROXY_PORT
in class/xq_maileon.php:/** * Gets the Maileon configuration * * @return array MaileonConfiguration */ private static function get_maileon_config() { $config = array( 'API_KEY' => get_option("API_KEY"), 'BASE_URI' => get_option("BASE_URI") ); if (defined('WP_PROXY_HOST')){ $config += array('PROXY_HOST' => WP_PROXY_HOST); } if (defined('WP_PROXY_PORT')){ $config += array('PROXY_PORT' => WP_PROXY_PORT); } return $config; }
Regards
Pascal
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adding Proxy’ is closed to new replies.