aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/install.php2
-rw-r--r--include/functions.inc.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/admin/install.php b/admin/install.php
index 7d514ec4b..68c76d068 100644
--- a/admin/install.php
+++ b/admin/install.php
@@ -81,7 +81,7 @@ if ( $_GET['step'] == 1 )
$file_content.= "\n\$cfgUser = '". $_POST['cfgUser']."';";
$file_content.= "\n\$cfgPassword = '". $_POST['cfgPassword']."';";
$file_content.= "\n\$cfgHote = '". $_POST['cfgHote']."';";
- $file_content.= "\n\$prefix_table = '".$_POST['prefix_table']."';";
+ $file_content.= "\n\$prefixeTable = '".$_POST['prefix_table']."';";
$file_content.= "\n?>";
// writting the configuration file
if ( $fp = @fopen( '../include/mysql.inc.php', 'a+' ) )
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 6ab5d960c..5eeb2f4a7 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -318,7 +318,7 @@ function replace_search( $string, $search )
function database_connection()
{
include( PREFIX_INCLUDE.'./include/mysql.inc.php' );
- define( PREFIX_TABLE, $prefix_table );
+ define( PREFIX_TABLE, $prefixeTable );
@mysql_connect( $cfgHote, $cfgUser, $cfgPassword )
or die ( "Could not connect to server" );