What is the lithium equivalent of CakePHP Configure :: load () and Configure :: read ()?

I would like to save the configuration data in separate files and load it / read it using the correct lithium method.

+5
source share
1 answer

Depends on what it is for. We strongly recommend not to drop the global configuration if it is not managed carefully.

If this involves connecting to any external system, I would suggest you take a look at the Connections, Cache, Session, Auth, or Logger classes. Take a look here for more information: http://li3.me/docs/lithium/core/Adaptable

- (y/sies) , : http://li3.me/docs/lithium/core/Environment. - , , , , , include "foo.php" .

, , , . № 1 .

+8

All Articles