]> git.p6c8.net - jirafeau_mojo42.git/blob - lib/config.original.php
quick dirty patch to fix installation
[jirafeau_mojo42.git] / lib / config.original.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 /*
21 * default configuration
22 * if you want to change this, overwrite in a config.local.php file
23 */
24 global $cfg;
25
26 /* don't forget the ending '/' */
27 $cfg['web_root'] = '';
28 $cfg['var_root'] = '';
29
30 /* Lang choice between 'auto', 'en' and 'fr'.
31 'auto' mode will take the user's browser informations. Will take english if
32 user's langage is not available.
33 */
34 $cfg['lang'] = 'auto';
35 $cfg['style'] = 'modern';
36 $cfg['rewrite'] = false;
37 /* An empty admin password will disable the admin interface. */
38 $cfg['admin_password'] = '';
39 /* preview: false (will download file) or true (will preview in browser if
40 * possible) . */
41 $cfg['preview'] = true;
42 /* Download page:
43 * true: Will show a download page (with preview if permited and possible).
44 * false: Will directly download file or preview (if permited and possible). */
45 $cfg['download_page'] = false;
46 /* Block feature:
47 The scripting interface can propose to create, read, write, delete blocks
48 of data. */
49 $cfg['enable_blocks'] = false;
50 /* Encryption feature. disable it by default.
51 * By enabling it, file-level deduplication won't work. */
52 $cfg['enable_crypt'] = false;
53 /* Split lenght of link refenrece. */
54 $cfg['link_name_lenght'] = 8;
55 /* Upload password. Empty string disable the password. */
56 $cfg['upload_password'] = '';
57
58 if ((basename (__FILE__) != 'config.local.php')
59 && file_exists (JIRAFEAU_ROOT.'lib/config.local.php'))
60 {
61 require (JIRAFEAU_ROOT.'lib/config.local.php');
62 }
63
64 ?>

patrick-canterino.de