mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-20 23:16:52 +01:00
merge from 1.0.
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user