ga update

This commit is contained in:
Dante
2015-07-23 17:43:02 -04:00
parent ad87f55dff
commit e316f48dce
7 changed files with 61 additions and 42 deletions

View File

@@ -653,7 +653,7 @@ class indicatorsCalculator
G::loadClass('wsTools');
$currentWS = defined('SYS_SYS') ? SYS_SYS : 'Wokspace Undefined';
$workSpace = new workspaceTools($currentWS);
$arrayHost = explode(":", $workSpace->dbHost);
$arrayHost = split(":", $workSpace->dbHost);
$host = "host=".$arrayHost[0];
$port = count($arrayHost) > 1 ? ";port=".$arrayHost[1] : "";
$db = ";dbname=".$workSpace->dbName;