Source for file auth_plugin.php
Documentation is available at auth_plugin.php
* General Authorization script for MOStlyCE plugins (originally written for mosCE).
* @author $Author: Ryan Demmer (Changed for MOStlyCE by Chad Auld)
* @version $Id: auth_plugin.php
* @Portions from remository.php
// Don't allow direct linking
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$this->usertype =
$my->usertype;
$this->username =
$my->username;
return ( strtolower( $this->usertype ) ==
'superadministrator' ||
strtolower( $this->usertype ) ==
'super administrator' ||
$this->grp ==
16 ) ?
true :
false;
Documentation generated on Mon, 05 May 2008 16:16:45 +0400 by phpDocumentor 1.4.0