How to access variables from application.ini


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php
  2.  
  3. class TestController extends Zend_Controller_Action {
  4.  
  5. public function testAction() {
  6.  
  7. $options = $this->getInvokeArg('bootstrap')->getOptions();
  8. }
  9. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.