The page you are looking at now is at this URL: http://pastoid.com/b2f
This paste was last updated on June 30, 2010 at 11:06 am.
<?php /** * Redirect anonymous users to the login form. * */ class LockOut extends Plugin { /** * Add update beacon support **/ public function action_update_check() { Update::add( $this->info->name, $this->info->guid, $this->info->version ); } public function action_template_header() { if ( ! User::identify()->loggedin ) { Utils::redirect( URL::get( 'auth', array( 'page' => 'login' ) ) ); } } } ?>
| Referring Domain | Hits |
|---|---|
| Unknown Referer | 127 |
| pastoid.com | 21 |
Tip: Use Pastoid to shorten URLs with this bookmarklet: Pastoid This