Groups
Groups
Sign in
Groups
Groups
kiwiphp
Conversations
About
Send feedback
Help
Action构造函数在IIS FastCGI模式下需要修正$webRoot
3 views
Skip to first unread message
zhaoyi
unread,
Nov 21, 2009, 1:27:00 AM
11/21/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kiwiphp
$webRoot = substr(dirname($_SERVER['SCRIPT_FILENAME']), strlen(realpath
($_SERVER['DOCUMENT_ROOT'])));
// windows系统目录使用\需要换成/
$webRoot = str_replace('\\','/',$webRoot);
Reply all
Reply to author
Forward
0 new messages