hi all,
class Bootstrap
{
public function __construct($configSection)
{
$rootDir = dirname(dirname(__FILE__));
define('ROOT_DIR', $rootDir);
set_include_path(get_include_path()
. PATH_SEPARATOR . ROOT_DIR . '/library/'
. PATH_SEPARATOR . ROOT_DIR .
'/application/models/'
);
...
class Application_Model_DbTable_Accounts extends Zend_Db_Table_Abstract
{
protected $_name = 'accounts';
........
class IndexController extends Zend_Controller_Action
{
public function init()
{
/* Initialize action controller here */
}
public function indexAction()
{
$this->view->title = 'Welcome';
$accountsFinder = new Application_Model_DbTable_Accounts();
....
>>>>>>>>>>>>>>>>>>>>>>>>
why the following error ocuurs: ????
PHP Warning: include_once(Application/Model/DbTable/Accounts.php): failed
to open stream: No such file or directory ..
Thanks,
Shahrzad Khorrami