<?php // Disallow direct access to this file for security reasons if(!defined("IN_MYBB")) { die("Direct initialization of this file is not allowed.<br /><br />Please make sure IN_MYBB is defined."); }
if(!in_array(THIS_SCRIPT, array("usercp.php")) && !defined("IN_ADMINCP")) { // We don't want this plugin return false; }