Sorry, I didn't specify this earlier.  I'm trying to use the function 
described in the docs at: 

   - Core Libraries <http://book.cakephp.org/2.0/en/core-libraries.html>
      - General 
Purpose<http://book.cakephp.org/2.0/en/core-libraries/toc-general-purpose.html>
         - Global Constants and 
Functions<http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html>
      

config()

Can be used to load files from your application config-folder via 
include_once. Function checks for existence before include and returns 
boolean. Takes an optional number of arguments.

Example: config('some_file', 'myconfig');
Just seems odd that the variables are not visible outside of the "included" 
php module.  Yes, the variables are only necessary within the views..  I 
was just wondering *why*?


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to