php zend 相对路径问题
<?php define (‘P_S’, PATH_SEPARATOR); define (‘ROOT’, “../”); set_include_path(ROOT .P_S .’Zend’ .P_S .ROOT.get_include_path()); require_once ROOT.’Zend/Loader.php’; Zend_Loader::loadClass(‘Zend_Db’); Zend_Loader::loadClass(‘Zend_Config_Ini’); Zend_Loader::loadClass(‘Zend_Page’); $config = new Ze
下载地址
用户评论