* -------------------------------------------------------------------- *
* Kurzbeschreibung : HTTP-relevante Funktionen *
* -------------------------------------------------------------------- *
- * $Revision:: $ *
- * $Date:: $ *
- * $Tag:: 0.2.1-FINAL $ *
- * $Author:: $ *
- * -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* Copyright (c) 2009 - 2013 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
// Get resolver instance
$resolver = new HostnameResolver();
- // Get proxy host
- $proxyHost = compileRawCode(getProxyHost());
+ // Default is no proxy
+ $proxyHost = NULL;
+
+ // Is the configuration entry set?
+ if ((!isInstaller()) && (isConfigEntrySet('proxy_host'))) {
+ // Get proxy host
+ $proxyHost = compileRawCode(getProxyHost());
+ } // END - if
// Open connection
if (isProxyUsed() === TRUE) {