views:

794

answers:

1

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

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

When i put below code in index.php:

set_include_path(
    'C:\wamp\www\Zend\' . PATH_SEPARATOR .
    APPLICATION_PATH . '/../library' . PATH_SEPARATOR .
    APPLICATION_PATH . '/models' . 
    PATH_SEPARATOR . get_include_path() );

What is APPLICATION_PATH in This , shall i have to write any thing rather than this....

Thanks Very much

+4  A: 

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

RageZ