2013-08-02 32 views

回答

1

從你的項目的根,編輯./public/index.php:

// Ensure library/ is on include_path 
set_include_path(implode(PATH_SEPARATOR, array(
    realpath(APPLICATION_PATH . '/../library'), 
    get_include_path(), 
    '/path/to/folder/that/contains/Zend' 
))); 

這是要更新的部分。請注意,您想要包含包含Zend的FOLDER,而不是其自身的文件夾。我會在PublicHTML中創建一個文件夾,如'GlobalLib',並將其放在那裏。