File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 1616
1717jobs :
1818 call-tests :
19+ name : Extension tests
1920 uses : phpbb-extensions/test-framework/.github/workflows/tests.yml@master
2021 with :
21- EXTNAME : phpbb/pages # Your extension vendor/package name
22- SNIFF : 1 # Run code sniffer on your code? 1 or 0
23- IMAGE_ICC : 1 # Run icc profile sniffer on your images? 1 or 0
24- EPV : 0 # Run EPV (Extension Pre Validator) on your code? 1 or 0
25- EXECUTABLE_FILES : 1 # Run check for executable files? 1 or 0
22+ EXTNAME : phpbb/pages # Your extension vendor/package name
2623 CODECOV : 1 # Run code coverage via codecov? 1 or 0
27- PHPBB_BRANCH : master # The phpBB branch to run tests on
2824 secrets :
2925 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }} # Do not change this
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ public function viewonline_page($event)
146146 // If any of our pages are being viewed, update the event vars with our routes and titles
147147 foreach ($ page_routes as $ page_id => $ page_data )
148148 {
149- if ($ event ['row ' ]['session_page ' ] === 'app. ' . $ this ->php_ext . DIRECTORY_SEPARATOR . $ page_data ['route ' ])
149+ if ($ event ['row ' ]['session_page ' ] === 'app. ' . $ this ->php_ext . ' / ' . $ page_data ['route ' ])
150150 {
151151 $ event ['location ' ] = $ this ->lang ->lang ('PAGES_VIEWONLINE ' , $ page_data ['title ' ]);
152152 $ event ['location_url ' ] = $ this ->helper ->route ('phpbb_pages_dynamic_route_ ' . $ page_id );
You can’t perform that action at this time.
0 commit comments