How should I store settings for project?
Which is better - to use a $settings array with all my settings:
$settings
$settings[\'max_photos\'] = 30; //
If the project settings is too heavy, then file(xml is better) is good and a dedicated class for settings is also good.
If the project settings is small, then array is best, its very fast and no I/O related issue will arise.
Even you can use database (slower and auth issue).