std::string Wt::WApplication::docRoot |
( |
) |
const |
返回服务器的文档根目录。
这個函数返回对应于网页服务器的文档根目录的文件系统路径。
注意:
在网页服务器配置复杂(例如,以FastCGI 方式与Apache 配合,并且启用重写规则)的情况下,这個函数不可靠。参考这里的讨论。
参考:
HxLauncher: Launch Android applications by voice commands