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

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

WBOY
Release: 2016-06-06 20:11:23
Original
1236 people have browsed it

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

求解..

回复内容:

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

求解..

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template