aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-09-20 15:04:09 +0000
committerz0rglub <z0rglub@piwigo.org>2003-09-20 15:04:09 +0000
commitef5df3db1f563b73f11598b378c4b273f7044de5 (patch)
tree77e2a54a6fd6fe6f2e0453d7fe389b90d6aa0440
parent4de359a25f9675cab6c9d5211bae6157833233cc (diff)
Using the same name for variables in ./include/mysql.inc.php
git-svn-id: http://piwigo.org/svn/trunk@141 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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" );