尝试为 Zend 框架包含 Session.php 时出现错误。
以下是我包含它的方式:
$ZEND_LIBRARY_PATH = "path_to_zend_library_folder";
set_include_path( get_include_path() . PATH_SEPARATOR . $ZEND_LIBRARY_PATH);
include_once '../classes/zend/library/zend/Session.php';
$account_info = new Zend_Session_Namespace('account');
该文件被包含在内,但我收到此错误:Cannot redeclare class Zend_Session
我怎样才能让它工作?