Zend Framework/Quickstart: undefined constant APPLICATION_PATH

后端 未结 1 713
心在旅途
心在旅途 2021-01-26 05:44

Hai

I got an error message

Notice: Use of undefined constant APPLICATION_PATH - assumed \'APPLICATION_PATH\' in C:\\wamp\\www\\index.php on line 4

Notic         


        
1条回答
  •  遥遥无期
    2021-01-26 06:04

    Re,

    the application path is the application directory of your Zend project

    define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application/'));
    

    see the quick start for reference

    Cheer

    0 讨论(0)
提交回复
热议问题