Added "MOD Version Check" support

This commit is contained in:
Kevin
2008-08-10 14:34:55 +00:00
parent d5df65dbf6
commit 9f1e3331d1
2 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
<?php
/**
*
* @package acp
* @version $Id: mod_version_check_version.php
* @copyright (c) 2007 StarTrekGuide
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @package mod_version_check
*/
if (!defined('IN_PHPBB'))
{
exit;
}
class board3_portal_check_version
{
function version()
{
global $portal_config, $phpbb_root_path, $phpEx;
include($phpbb_root_path . 'portal/includes/functions.' . $phpEx);
$portal_config = obtain_portal_config();
return array(
'author' => 'Saint_hh',
'title' => 'Board3 Portal',
'tag' => 'board3_portal',
'version' => $portal_config['portal_version'],
'file' => array('board3.de', 'updatecheck', 'board3_portal.xml'),
);
}
}
?>