Chargement auto de ma configuration pour free.fr si elle est là.
This commit is contained in:
parent
91de3f81c9
commit
2f3356b156
1
cms2/.gitignore
vendored
Normal file
1
cms2/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
config_free.fr.php5
|
|
@ -38,4 +38,8 @@ Config::set('db_prefixe', "moteur_site_simple_2010_");
|
||||||
|
|
||||||
// ======== FIN CONFIGURATION =======
|
// ======== FIN CONFIGURATION =======
|
||||||
|
|
||||||
|
if (file_exists(dirname(__FILE__) . '/config_free.fr.php5') && preg_match('/.free\.fr$/', $_SERVER['SERVER_NAME'])) {
|
||||||
|
require_once(dirname(__FILE__) . '/config_free.fr.php5');
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user