PDO - host without port correction
This commit is contained in:
@@ -518,11 +518,9 @@ class indicatorsCalculator
|
|||||||
G::loadClass('wsTools');
|
G::loadClass('wsTools');
|
||||||
$currentWS = defined('SYS_SYS') ? SYS_SYS : 'Wokspace Undefined';
|
$currentWS = defined('SYS_SYS') ? SYS_SYS : 'Wokspace Undefined';
|
||||||
$workSpace = new workspaceTools($currentWS);
|
$workSpace = new workspaceTools($currentWS);
|
||||||
$host = $workSpace->dbHost;
|
|
||||||
|
|
||||||
$arrayHost = split(":", $workSpace->dbHost);
|
$arrayHost = split(":", $workSpace->dbHost);
|
||||||
$host = "host=".$arrayHost[0];
|
$host = "host=".$arrayHost[0];
|
||||||
$port = sizeof($arrayHost) > 0 ? ";port=".$arrayHost[1] : "";
|
$port = count($arrayHost) > 1 ? ";port=".$arrayHost[1] : "";
|
||||||
$db = ";dbname=".$workSpace->dbName;
|
$db = ";dbname=".$workSpace->dbName;
|
||||||
$user = $workSpace->dbUser;
|
$user = $workSpace->dbUser;
|
||||||
$pass = $workSpace->dbPass;
|
$pass = $workSpace->dbPass;
|
||||||
|
|||||||
@@ -38,7 +38,6 @@
|
|||||||
G_STRING['{$index}'] = "{$option}";
|
G_STRING['{$index}'] = "{$option}";
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="/jscore/strategicDashboard/dashboardProxyTest.js"></script>
|
|
||||||
<script type="text/javascript" src="/jscore/strategicDashboard/dashboard.js"></script>
|
<script type="text/javascript" src="/jscore/strategicDashboard/dashboard.js"></script>
|
||||||
<script type="text/javascript" src="/jscore/strategicDashboard/dashboardProxy.js"></script>
|
<script type="text/javascript" src="/jscore/strategicDashboard/dashboardProxy.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<body id="page-top" class="index">
|
<body id="page-top" class="index">
|
||||||
|
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
//Change xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
For better compatibility with Internet Explorer, a new tab with the KPIs has been opened. Please select this tab on the tab list above to see all the KPI's functionality.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user