cannot get phing to run at all

后端 未结 4 1480
有刺的猬
有刺的猬 2021-01-11 19:37

Max OS X 10.7.. when i run phing -v i get the following errors:

Warning: require_once(phing/Project.php): failed to open stream: No such file or         


        
4条回答
  •  孤街浪徒
    2021-01-11 20:16

    Or if you don't have access to the server, you can do this:

    $root = $SERVER['DOCUMENT_ROOT'];

    It'll always reference the root of your project, and you can then reference the folder/file from that.
    You don't have to touch the server if done that way.

提交回复
热议问题