merge from 1.0.

This commit is contained in:
qiang.xue
2009-01-04 20:57:35 +00:00
parent f26227ae2c
commit 9488f00e36
18 changed files with 1183 additions and 1040 deletions

View File

@@ -56,6 +56,7 @@ EOD;
// fake the web server setting
chdir(dirname($entryScript));
$_SERVER['SCRIPT_NAME']='/'.basename($entryScript);
$_SERVER['REQUEST_URI']=$_SERVER['SCRIPT_NAME'];
$_SERVER['SCRIPT_FILENAME']=$entryScript;
$_SERVER['HTTP_HOST']='localhost';
$_SERVER['SERVER_NAME']='localhost';