Skip to content

Commit 8202a69

Browse files
committed
Fix incorrect use of DIRECTORY_SEPARATOR
1 parent 2a80c4e commit 8202a69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)