【发布时间】:2012-06-11 11:55:26
【问题描述】:
require_once 是否正确? 你会在哪里以及如何将它包含路径?
不应该在 application.ini 或 bootstrap 中吗?
示例:
require_once 'Zend/View/Helper/Abstract.php';
// @question - is this correct - where and
// how would you put it include path
class Zend_View_Helper_Translate extends Zend_View_Helper_Abstract
{
}
【问题讨论】:
-
我的问题是...视图助手是您真正需要的解决方案吗?也许一个插件会更合适?
标签: zend-framework require-once