Index: temp/trunk/html/install/index.php
===================================================================
--- temp/trunk/html/install/index.php	(revision 5101)
+++ temp/trunk/html/install/index.php	(revision 5102)
@@ -493,4 +493,5 @@
 	global $objWebParam;
 	global $objDBParam;
+	global $port;
 	
 	$filepath = $objWebParam->getValue('install_dir') . "/html/install.inc";
@@ -517,5 +518,5 @@
 	"    define ('DB_SERVER', '" . $objDBParam->getValue('db_server') . "');\n" .
 	"    define ('DB_NAME', '" . $objDBParam->getValue('db_name') . "');\n" .
-	"    define ('DB_PORT', '" . $objDBParam->getValue('db_port') . "');\n" .
+	"    define ('DB_PORT', '" . $port . "');\n" .
 	"?>";
 	
