]> git.p6c8.net - jirafeau_mojo42.git/blob - lib/config.php
Add langage support (french) and automatic langage selection
[jirafeau_mojo42.git] / lib / config.php
1 <?php
2 /*
3 * Jirafeau, your web file repository
4 * Copyright (C) 2008 Julien "axolotl" BERNARD <axolotl@magieeternelle.org>
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Affero General Public License as
8 * published by the Free Software Foundation, either version 3 of the
9 * License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Affero General Public License for more details.
15 *
16 * You should have received a copy of the GNU Affero General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19 /*
20 * default configuration
21 * if you want to change this, overwrite in a config.local.php file
22 */
23 /* don't forget the ending '/' */
24 $cfg['web_root'] = '';
25 $cfg['var_root'] = '';
26 $cfg['lang'] = '';
27 $cfg['style'] = 'default';
28 $cfg['rewrite'] = false;
29 $cfg['password'] = '';
30
31 if ((basename (__FILE__) != 'config.local.php')
32 && file_exists (JIRAFEAU_ROOT.'lib/config.local.php'))
33 {
34 require (JIRAFEAU_ROOT.'lib/config.local.php');
35 }
36
37 ?>

patrick-canterino.de