From ef5df3db1f563b73f11598b378c4b273f7044de5 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sat, 20 Sep 2003 15:04:09 +0000 Subject: 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 --- admin/install.php | 2 +- include/functions.inc.php | 2 +- 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" ); -- cgit v1.2.3