From: Aldo "xoen" Giambelluca Date: Sun, 4 Jul 2010 05:35:05 +0000 (+0200) Subject: Now DB tables are created with the right name (using the prefix) X-Git-Tag: v3.0~351^2~9^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2fe595d10915afe27ba3a55eeb78bfe0be094f9b;p=nextcloud-server.git Now DB tables are created with the right name (using the prefix) --- 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'];