summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorAldo "xoen" Giambelluca <xoen@xoen.org>2010-07-04 07:35:05 +0200
committerAldo "xoen" Giambelluca <xoen@xoen.org>2010-07-04 07:35:05 +0200
commit2fe595d10915afe27ba3a55eeb78bfe0be094f9b (patch)
tree1cdadff0e60d1daf7649b1fefcf221a7cbfb1b9a /inc
parente2c621e9583608c02a761f3ad50223e7aa85bd19 (diff)
downloadnextcloud-server-2fe595d10915afe27ba3a55eeb78bfe0be094f9b.tar.gz
nextcloud-server-2fe595d10915afe27ba3a55eeb78bfe0be094f9b.zip
Now DB tables are created with the right name (using the prefix)
Diffstat (limited to 'inc')
-rwxr-xr-xinc/lib_config.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/lib_config.php b/inc/lib_config.php
index a05aff389a2..9566b504b23 100755
--- a/inc/lib_config.php
+++ b/inc/lib_config.php
@@ -25,6 +25,7 @@ class OC_CONFIG{
global $CONFIG_HTTPFORCESSL;
global $CONFIG_DATEFORMAT;
global $CONFIG_DBNAME;
+ global $CONFIG_DBTABLEPREFIX;
global $CONFIG_INSTALLED;
$allow=false;
if(!$CONFIG_INSTALLED){
@@ -130,6 +131,7 @@ class OC_CONFIG{
global $WEBROOT;
global $CONFIG_DBHOST;
global $CONFIG_DBNAME;
+ global $CONFIG_DBTABLEPREFIX;
global $CONFIG_INSTALLED;
global $CONFIG_DBUSER;
global $CONFIG_DBPASSWORD;
@@ -184,6 +186,7 @@ class OC_CONFIG{
//create/fill database
$CONFIG_DBTYPE=$dbtype;
$CONFIG_DBNAME=$_POST['dbname'];
+ $CONFIG_DBTABLEPREFIX=$_POST['dbtableprefix'];
if($dbtype=='mysql'){
$CONFIG_DBHOST=$_POST['dbhost'];
$CONFIG_DBUSER=$_POST['dbuser'];