]> git.immae.eu Git - github/wallabag/wallabag.git/blob - app/config/global.inc.php
add install script after composer install
[github/wallabag/wallabag.git] / app / config / global.inc.php
1 <?php
2 /**
3 * wallabag, self hostable application allowing you to not miss any content anymore
4 *
5 * @category wallabag
6 * @author Nicolas LÅ“uillet <nicolas@loeuillet.org>
7 * @copyright 2013
8 * @license http://opensource.org/licenses/MIT see COPYING file
9 */
10
11 define('ROOT', dirname(__FILE__) . '/../..');
12
13 require_once ROOT . '/vendor/autoload.php';
14
15 # system configuration
16 require_once __DIR__ . '/config.inc.php';
17 require_once __DIR__ . '/config.inc.default.php';
18
19 if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) {
20 date_default_timezone_set('UTC');
21 }
22
23 if (defined('ERROR_REPORTING')) {
24 error_reporting(ERROR_REPORTING);
25 }