Test Accounts

There are 3 test accounts.

Username: Test
Password: test123

Username: Test 2
Password: testuser2

Username: Test 3
Password: testuser3

Instant ACP Redirect

Useful little modifications. I did not make any of them

Moderator: Jessica

Forum rules
There will be no more new snippets here. All snippets are posted here: http://chenschool.elementfx.com/phpBB3/kb.php?c=1

Instant ACP Redirect

Postby Jessica » November 3rd, 2011, 10:35 pm

There is a mod that does the exact same edit, but since it's one edit, it can be also considered a snippet...

Open includes/functions.php

FIND:
Code: Select all
meta_refresh(3, $redirect);
      trigger_error($message . '<br /><br />' . sprintf($l_redirect, '<a href="' . $redirect . '">', '</a>'));
      }


ADD BEFORE:
Code: Select all
  if ($admin)
      {
      redirect($redirect);
      }


User avatar
Jessica
Founder
 
Topic author
Posts: 97
Topics: 39
Blog entries: 5
Joined: October 27th, 2011, 4:30 pm
Likes: 7 posts
Liked in: 24 posts
Images: 133

Return to Snippets

Who is online

Users browsing this forum: No registered users and 1 guest

x

#{title}

#{text}