php - EDEN Framework together with Zend Framework: Cannot redeclare class Eden_Class -
iam trying integrate eden php link page zend framework 1.10.x application. have moved files folder other librarys located.
in index.php:
/** zend_application */ require_once 'zend/application.php'; require_once 'eden.php';
application.ini:
autoloadernamespaces.6 = "eden_"
when try create instance of eden class with:
$fbauth = eden('facebook')->auth('$key','$secret','http://yourwebsite.com/auth');
i following error?
cannot redeclare class eden_class in /applications/mamp/htdocs/page/library/eden/class.php on line 27
any ideas? (php version 5.3.6)
solution (working me) added bootstrap.php
/** * setup eden framework * http://eden.openovate.com/ * * @return void */ public function _initeden() { eden()->setloader(false); }
Comments
Post a Comment