开发者

A warning is display when i included a file in my template file, what could me the reason?

开发者 https://www.devze.com 2023-01-27 14:44 出处:网络
A warning is display when i included a file in my template file, what could me the reason? Warning: include_once()

A warning is display when i included a file in my template file, what could me the reason?

Warning: include_once() [function.include-once]: URL file-access is disabled in the server configuration in C:\wamp\www\ppm1.0\templates\threeColumnLayout.php on line 24

Please sugge开发者_运维技巧st me some idea to rectify it.


Use the filesystem path to the file, not the web path/uri. Or you could turn on allow_url_include (which also requires allow_url_fopen being on). but allow_url_include can be a security risk.

0

精彩评论

暂无评论...
验证码 换一张
取 消