Require_once PHP Error

后端 未结 4 1573
闹比i
闹比i 2021-01-17 19:09

I\'ve been programming in PHP for several years now and never encountered this error before.

Here\'s my widget.php file:

re         


        
4条回答
  •  忘掉有多难
    2021-01-17 19:43

    Remember that in the second case, you're specifying a path, but in the first case it uses your includes path. Perhaps rather than explicitly specifying .. in the second case, you case modify your include path.

    http://php.net/manual/en/function.set-include-path.php

提交回复
热议问题