diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-21 14:45:39 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-21 14:45:39 +0100 |
commit | 19875ef0dad9999f91e6f8d780756e402b5e6722 (patch) | |
tree | 169b887df1bf71f7ceb0be54447b11be8765e431 /app/config | |
parent | 00fcfd299b7a1aa5177c97d2b13c0d9d587678e5 (diff) | |
download | wallabag-19875ef0dad9999f91e6f8d780756e402b5e6722.tar.gz wallabag-19875ef0dad9999f91e6f8d780756e402b5e6722.tar.zst wallabag-19875ef0dad9999f91e6f8d780756e402b5e6722.zip |
add install script after composer install
Diffstat (limited to 'app/config')
-rwxr-xr-x | app/config/global.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/config/global.inc.php b/app/config/global.inc.php index 4df68ea9..59db5aa1 100755 --- a/app/config/global.inc.php +++ b/app/config/global.inc.php | |||
@@ -12,9 +12,9 @@ define('ROOT', dirname(__FILE__) . '/../..'); | |||
12 | 12 | ||
13 | require_once ROOT . '/vendor/autoload.php'; | 13 | require_once ROOT . '/vendor/autoload.php'; |
14 | 14 | ||
15 | # system configuration; database credentials et caetera | 15 | # system configuration |
16 | require_once dirname(__FILE__) . '/config.inc.php'; | 16 | require_once __DIR__ . '/config.inc.php'; |
17 | require_once dirname(__FILE__) . '/config.inc.default.php'; | 17 | require_once __DIR__ . '/config.inc.default.php'; |
18 | 18 | ||
19 | if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) { | 19 | if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) { |
20 | date_default_timezone_set('UTC'); | 20 | date_default_timezone_set('UTC'); |