Hi, just made this plugin that imports your config/core.php settings into database and makes it possible to easy controll them in your backend.
http://code.google.com/p/gerhardsletten/source/browse/#svn/trunk/cakephp/plugins/settings I "override" the default settings in app_controller.php: function beforeFilter() { parent::beforeFilter(); App::import("Model", "Settings.Setting"); $setting = new Setting; $setting->writeSettings(); return true; } The $setting->writeSettings() function will read in settings from the database. Is there a better way according to the performance and cache to do this? --~--~---------~--~----~------------~-------~--~----~ 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] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
