aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/global.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/config/global.inc.php')
-rwxr-xr-xapp/config/global.inc.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/app/config/global.inc.php b/app/config/global.inc.php
new file mode 100755
index 00000000..4df68ea9
--- /dev/null
+++ b/app/config/global.inc.php
@@ -0,0 +1,25 @@
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
11define('ROOT', dirname(__FILE__) . '/../..');
12
13require_once ROOT . '/vendor/autoload.php';
14
15# system configuration; database credentials et caetera
16require_once dirname(__FILE__) . '/config.inc.php';
17require_once dirname(__FILE__) . '/config.inc.default.php';
18
19if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) {
20 date_default_timezone_set('UTC');
21}
22
23if (defined('ERROR_REPORTING')) {
24 error_reporting(ERROR_REPORTING);
25} \ No newline at end of file