Skip to content

Commit 421c561

Browse files
authored
Merge pull request #186 from iMattPro/fixes
Fix path issue
2 parents 2a80c4e + 8202a69 commit 421c561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

event/listener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)