Skip to content

Commit 83394dc

Browse files
committed
New version and better path
1 parent fb56d64 commit 83394dc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# phpBB 3.1 Extension - phpBB.de Terms of Use
1+
# phpBB 3.2 Extension - phpBB.de Terms of Use
22

33
## Installation
44

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description" : "Forces the user to confirm the terms of use.",
55
"homepage" : "https://github.com/phpbb-de/phpbb-ext-tou",
66
"version" : "1.0.0",
7-
"time" : "2015-03-21",
7+
"time" : "2019-10-24",
88
"license" : "GPL-2.0",
99
"authors" : [{
1010
"name" : "Martin Beckmann",
@@ -14,15 +14,15 @@
1414
}
1515
],
1616
"require" : {
17-
"php" : ">=5.3.3"
17+
"php" : ">=5.4.7"
1818
},
1919
"require-dev" : {
2020
"phpbb/epv" : "dev-master"
2121
},
2222
"extra" : {
2323
"display-name" : "phpBB.de - Terms of use",
2424
"soft-require" : {
25-
"phpbb/phpbb" : "3.1.*@dev"
25+
"phpbb/phpbb" : "3.2.*@dev"
2626
}
2727
},
2828
"support" : {

event/main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function page_header($event)
7070
}
7171

7272
// At this point we have a registered user who did not accept the newest TOU.
73-
redirect($this->helper->route('phpbbde_tou_main_controller'));
73+
redirect($this->helper->route('phpbbde_tou_main_controller', [], false, false, \Symfony\Component\Routing\Generator\UrlGeneratorInterface::ABSOLUTE_URL));
7474
}
7575

7676
public function user_add_modify($event)

0 commit comments

Comments
 (0)