|
@@ -7,7 +7,7 @@ class EnvDsn{
|
|
|
return false;
|
|
|
if(! in_array($info['scheme'], array('http','https') ) )
|
|
|
return false;
|
|
|
- if($info['port'])
|
|
|
+ if(isset($info['port']))
|
|
|
$url = $info['scheme']. '://' . $info['host'] . ':' . $info['port'] . $info['path'];
|
|
|
else
|
|
|
$url = $info['scheme']. '://' . $info['host'] . $info['path'];
|