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 you go for the array approach, you could use array literals for slightly more readable code:
$settings = array( 'max_photos' => 30, 'max_width' => 100 //... )