From d4c07930d51244c8ae5014344c9502d010954448 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Fri, 10 May 2013 06:13:24 -0400 Subject: add $db_port to .htconfig.php and $a->config['syste]['smarty3_folder'] for compiled templates --- include/dba/dba_driver.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) mode change 100644 => 100755 include/dba/dba_driver.php (limited to 'include/dba/dba_driver.php') diff --git a/include/dba/dba_driver.php b/include/dba/dba_driver.php old mode 100644 new mode 100755 index 1091b9632..abc759adc --- a/include/dba/dba_driver.php +++ b/include/dba/dba_driver.php @@ -1,15 +1,17 @@ install($server,$user,$pass,$db))) { + function __construct($server, $port, $user,$pass,$db,$install = false) { + if(($install) && (! $this->install($server, $port, $user,$pass,$db))) { return; } - $this->connect($server,$user,$pass,$db); + $this->connect($server, $port, $user,$pass,$db); } -- cgit v1.2.3