Updated UMIL to version 1.0.4;

Updated UMIF for UMIL 1.0.4;
This commit is contained in:
Marc Alexander
2010-12-21 14:03:38 +00:00
parent a022694a3d
commit 33084038f9
34 changed files with 624 additions and 220 deletions

View File

@@ -4,9 +4,9 @@
* @author Nathan Guse (EXreaction) http://lithiumstudios.org
* @author David Lewis (Highway of Life) highwayoflife@gmail.com
* @package umil
* @version $Id: umil_auto.php 176 2009-09-19 03:15:41Z exreaction $
* @version $Id$
* @copyright (c) 2008 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
*
*/
@@ -39,17 +39,12 @@ if (!defined('UMIL_AUTO'))
}
/*
* If IN_PHPBB is already defined, lets assume they already included the common.php file and are done with setup
*
* NOTE: If you do not setup the common.php file YOU WILL NOT BE ABLE TO USE ANY CONSTANTS!
* Do not include common.php, the MOD author is required to include this.
*/
if (!defined('IN_PHPBB'))
{
define('IN_PHPBB', true);
include($phpbb_root_path . 'common.' . $phpEx);
$user->session_begin();
$auth->acl($user->data);
$user->setup();
trigger_error('UMIL doesn\'t support the missing IN_PHPBB anymore. Please visit <a href="http://www.phpbb.com/mods/umil/update/">http://www.phpbb.com/mods/umil/update</a> on how to update your UMIF files.', E_USER_ERROR);
exit;
}
// Add the language file if one was specified