aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/global.inc.php
diff options
context:
space:
mode:
authorNicolas Lœuillet <nicolas@loeuillet.org>2015-01-20 07:40:39 +0100
committerNicolas Lœuillet <nicolas@loeuillet.org>2015-01-20 07:40:39 +0100
commit6ad93dff69d7c2beb2196e73f641e6484fccbeb7 (patch)
tree12430b858be2a41029fc11d1afa1fa2a120b96f9 /app/config/global.inc.php
parentc78c1a3f08815aab99752026ccdf1dcf63cf43c1 (diff)
downloadwallabag-6ad93dff69d7c2beb2196e73f641e6484fccbeb7.tar.gz
wallabag-6ad93dff69d7c2beb2196e73f641e6484fccbeb7.tar.zst
wallabag-6ad93dff69d7c2beb2196e73f641e6484fccbeb7.zip
new folders
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