0
我下載了zend框架1.10完整版。解壓縮後,將此文件夾重命名爲zf。 我打算使用zend框架作爲獨立的,只會在需要時調用加載器幷包含庫。以zend框架開頭的問題
我把解壓Zend框架爲http://localhost/r/zf
然後從R/test2.php我把這些代碼來執行測試呼叫,但它失敗。
我錯過了什麼?
<?php
define('ROOT_DIR', dirname(__FILE__));
ini_set('error_reporting', E_ALL | E_STRICT);
ini_set('log_errors',FALSE);
ini_set('html_errors',FALSE);
ini_set('error_log', ROOT_DIR.'/admin/logfile/error_log.txt');
ini_set('display_errors',FALSE);
require_once 'zf/library/Zend/Loader.php'; //successfully go through
echo "aaa";
//It will fail as long as i enable Zend loader lines at below....
//Zend_Loader::loadClass('Zend_Gdata');
//Zend_Loader::loadClass('Zend_Gdata_AuthSub');
//Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
//Zend_Loader::loadClass('Zend_Gdata_Calendar');
echo "bbb";
?>