]>
Commit | Line | Data |
---|---|---|
6ad93dff NL |
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 | ||
19875ef0 NL |
15 | # system configuration |
16 | require_once __DIR__ . '/config.inc.php'; | |
17 | require_once __DIR__ . '/config.inc.default.php'; | |
6ad93dff NL |
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); | |
93fd4692 | 25 | } |