8
I would like to know how to create, import and use new configuration files in an Laravel 4 project.
By that, I mean, project files and own settings. For example: I would like to create a file that has some static project information, without the need to persist it in the database.
Example:
<?php
$config = array(
'titulo_padrao' => 'Site do João',
'meta_keywords' => 'palavra1, palavra2, palavra3',
'meta_description' => 'Dramatically repurpose covalent niches vis-a-vis resource sucking benefits. Authoritatively productize.',
'script_ga' => 'script_aqui',
'grupo_administradores' => array(1,2,3),
'grupo_usuarios' => array(4,5),
'etc' => '...'
);
?>
The Brayan link has all the features!
– Thiago Bueno