Hello, I am building a new application and I want to place database stuff and configuration in one file. But when I include the files in any of the controller scripts I get an error.
I am sure the problem is not related to a file not found or a syntax error, I am doing something like this in IndexController.php: /** Zend_Controller_Action */ require_once 'Zend/Controller/Action.php'; require_once 'Zend/View.php'; include_once 'myconfig.php'; Is not allowed to have files at this point? I have to include each one in each action function. Thanks! -- View this message in context: http://www.nabble.com/Using-include_once-tp15333284s16154p15333284.html Sent from the Zend Framework mailing list archive at Nabble.com.
