Index: /temp/trunk/html/install/index.php
===================================================================
--- /temp/trunk/html/install/index.php	(revision 3519)
+++ /temp/trunk/html/install/index.php	(revision 3697)
@@ -368,5 +368,5 @@
 function lfInitWebParam($objWebParam) {
 	
-	$install_dir = ereg_replace("html/", "", $_SERVER['DOCUMENT_ROOT']);
+	$install_dir = realpath("../../" . dirname( __FILE__));
 	$normal_url = "http://" . $_SERVER['HTTP_HOST'] . "/";
 	$secure_url = "http://" . $_SERVER['HTTP_HOST'] . "/";
