diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2015-01-20 07:40:39 +0100 |
---|---|---|
committer | Nicolas Lœuillet <nicolas@loeuillet.org> | 2015-01-20 07:40:39 +0100 |
commit | 6ad93dff69d7c2beb2196e73f641e6484fccbeb7 (patch) | |
tree | 12430b858be2a41029fc11d1afa1fa2a120b96f9 /app/config/global.inc.php | |
parent | c78c1a3f08815aab99752026ccdf1dcf63cf43c1 (diff) | |
download | wallabag-6ad93dff69d7c2beb2196e73f641e6484fccbeb7.tar.gz wallabag-6ad93dff69d7c2beb2196e73f641e6484fccbeb7.tar.zst wallabag-6ad93dff69d7c2beb2196e73f641e6484fccbeb7.zip |
new folders
Diffstat (limited to 'app/config/global.inc.php')
-rwxr-xr-x | app/config/global.inc.php | 25 |
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 | |||
11 | define('ROOT', dirname(__FILE__) . '/../..'); | ||
12 | |||
13 | require_once ROOT . '/vendor/autoload.php'; | ||
14 | |||
15 | # system configuration; database credentials et caetera | ||
16 | require_once dirname(__FILE__) . '/config.inc.php'; | ||
17 | require_once dirname(__FILE__) . '/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 | } \ No newline at end of file | ||