$template->set('menu',file_get_contents('../gamefiles/site_menu.html'));单独使用时,file_get_contents()返回正确的值,这让我相信DOMXPath函数正在对它做一些操作。我被难住了。的构造方法
function __CONSTRUCT
我在我的PHP上使用file_get_contents,它抛出了一些错误:#try to fetch from remote$fileIn = @file_get_contents($this->remotePath);Warning: file_get_contents() [function.file-get-contentsdisa