Home  >  Article  >  Backend Development  >  ecshop中init.php里if (__FILE__ == '')有什么作用?

ecshop中init.php里if (__FILE__ == '')有什么作用?

WBOY
WBOYOriginal
2016-06-06 20:11:231159browse

<code>if (__FILE__ == '') {
    die('Fatal error code: 0');
}</code>

求解..

回复内容:

<code>if (__FILE__ == '') {
    die('Fatal error code: 0');
}</code>

求解..

访问顶层路径或者超出项目路径之外,那么程序就会终端并报错!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn