Skip to content

Commit 4904198

Browse files
committed
look for pastebin in path...
1 parent d96c6f8 commit 4904198

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

event/base_events.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function viewonline_page($event)
6161
{
6262
if ($event['on_page'][1] == 'app')
6363
{
64-
if(strrpos($event['row']['session_page'], 'app.' . $this->php_ext . '/rules') === 0)
64+
if(strrpos($event['row']['session_page'], 'app.' . $this->php_ext . '/pastebin') === 0)
6565
{
6666
$event['location'] = $this->user->lang('PASTEBIN_VIEWONLINE');
6767
$event['location_url'] = $this->helper->route('phpbbde_pastebin_main_controller');

0 commit comments

Comments
 (0)