if You defined those vars in bootstrap.php by code

global $abc, $def;
$abc = true;
$def = 'XXX';

then You can acces them in Controller::beforeFilter() method by

global $def;
$this->set('def', $def);

But You IMO have to consider, if You really need global variable. I'm
trying to say there will be probably 'more clean' way how to achieve
this, if You aren't just include some foreign code.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to