]>
git.p6c8.net - jirafeau_project.git/blob - pub/lib/settings.php
409235f6207e5971da6ac9e2c076288835ec1300
3 * Jyraphe, your web file repository
4 * Copyright (C) 2008 Julien "axolotl" BERNARD <axolotl@magieeternelle.org>
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.
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.
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/>.
22 define('JYRAPHE_PACKAGE', 'Jyraphe');
23 define('JYRAPHE_VERSION', '0.4');
27 define('VAR_FILES', $cfg['var_root'] . 'files/');
28 define('VAR_LINKS', $cfg['var_root'] . 'links/');
29 define('VAR_TRASH', $cfg['var_root'] . 'trash/');
33 setlocale(LC_ALL
, $cfg['lang']);
35 bindtextdomain(JYRAPHE_PACKAGE
, JYRAPHE_ROOT
. 'lib/locale');
36 textdomain(JYRAPHE_PACKAGE
);
45 define('JYRAPHE_INFINITY', -1);
46 define('JYRAPHE_MINUTE', 60); // 60
47 define('JYRAPHE_HOUR', 3600); // JYRAPHE_MINUTE * 60
48 define('JYRAPHE_DAY', 86400); // JYRAPHE_HOUR * 24
49 define('JYRAPHE_WEEK', 604800); // JYRAPHE_DAY * 7
50 define('JYRAPHE_MONTH', 2419200); // JYRAPHE_WEEK * 4
patrick-canterino.de