[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.setup.inc.php,1.15.2.5,1.15.2
From: |
Dave Hall <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.setup.inc.php,1.15.2.5,1.15.2.6 |
Date: |
Fri, 27 Jun 2003 03:28:21 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv11357
Modified Files:
Tag: Version-0_9_16-branch
class.setup.inc.php
Log Message:
prepend_tables_prefix patch from fixe
Index: class.setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.setup.inc.php,v
retrieving revision 1.15.2.5
retrieving revision 1.15.2.6
diff -C2 -r1.15.2.5 -r1.15.2.6
*** class.setup.inc.php 29 May 2003 02:10:15 -0000 1.15.2.5
--- class.setup.inc.php 27 Jun 2003 07:28:19 -0000 1.15.2.6
***************
*** 344,347 ****
--- 344,357 ----
$tables =
implode(',',$setup_info[$appname]['tables']);
}
+ if ($setup_info[$appname]['tables_use_prefix']
== True)
+ {
+ echo "tables_use_prefix turned on,
Storing".$setup_info[$appname]['tables_prefix']
+ ." as prefix for
".$setup_info[$appname]['name']." tables\n";
+
+ $sql = "INSERT INTO phpgw_config
(config_app,config_name,config_value) "
+ ."VALUES
('".$setup_info[$appname]['name']."','"
+
.$appname."_tables_prefix','".$setup_info[$appname]['tables_prefix']."');";
+
$this->db->query($sql,__LINE__,__FILE__);
+ }
if($use_appid)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.setup.inc.php,1.15.2.5,1.15.2.6,
Dave Hall <address@hidden> <=