aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-08-10 12:55:49 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-08-10 13:41:08 +0200
commita57a96cbddbfdad65823aeca2901f26b62c9b12d (patch)
tree22ef0efa2366d64f71f99f38f0403f1ef4ea17db /phpBB/install
parent7cc9f216e71de8515d5adb8e4fb48e3f6456d689 (diff)
downloadforums-a57a96cbddbfdad65823aeca2901f26b62c9b12d.tar
forums-a57a96cbddbfdad65823aeca2901f26b62c9b12d.tar.gz
forums-a57a96cbddbfdad65823aeca2901f26b62c9b12d.tar.bz2
forums-a57a96cbddbfdad65823aeca2901f26b62c9b12d.tar.xz
forums-a57a96cbddbfdad65823aeca2901f26b62c9b12d.zip
[ticket/12932] Add method for getting the datetime class and allow overriding
An extension can now override the datetime class by overwriting the datetime.class parameter in their own yml file. PHPBB3-12932
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php
index 395aff6c7d..2e497da3db 100644
--- a/phpBB/install/index.php
+++ b/phpBB/install/index.php
@@ -240,7 +240,7 @@ $sub = $request->variable('sub', '');
// Set PHP error handler to ours
set_error_handler(defined('PHPBB_MSG_HANDLER') ? PHPBB_MSG_HANDLER : 'msg_handler');
-$user = new \phpbb\user();
+$user = new \phpbb\user('\phpbb\datetime');
$auth = new \phpbb\auth\auth();
// Add own hook handler, if present. :o