78 lines
1.7 KiB
PHP
78 lines
1.7 KiB
PHP
<?php
|
|
|
|
/*
|
|
+--------------------------------------------------------------------------
|
|
| Invision Power Board v<{%dyn.down.var.human.version%}>
|
|
| =============================================
|
|
| by Matthew Mecham
|
|
| (c) 2001 - 2005 Invision Power Services, Inc.
|
|
| http://www.invisionpower.com
|
|
| =============================================
|
|
| Web: http://www.invisionboard.com
|
|
| Time: <{%dyn.down.var.time%}>
|
|
| Release: <{%dyn.down.var.md5%}>
|
|
| Licence Info: http://www.invisionboard.com/?license
|
|
+---------------------------------------------------------------------------
|
|
| > $Date: 2005-10-10 14:08:54 +0100 (Mon, 10 Oct 2005) $
|
|
| > $Revision: 23 $
|
|
| > $Author: matt $
|
|
+---------------------------------------------------------------------------
|
|
|
|
|
| > MODULE PUBLIC FILE: EXAMPLE
|
|
| > Module written by Matt Mecham
|
|
| > Date started: Fri 12th August 2005 (17:16)
|
|
|
|
|
+--------------------------------------------------------------------------
|
|
*/
|
|
|
|
/**
|
|
* MODULE: Public Example File (IPB 3.0 Methods)
|
|
* "modules" is depreciated in IPB 3.0
|
|
*
|
|
* @package InvisionPowerBoard
|
|
* @subpackage Components
|
|
* @author Matt Mecham
|
|
* @version 2.1
|
|
*/
|
|
|
|
if ( ! defined( 'IN_IPB' ) )
|
|
{
|
|
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
|
|
exit();
|
|
}
|
|
|
|
/**
|
|
* MODULE: Public Example File (IPB 3.0 Methods)
|
|
*
|
|
* This class must ALWAYS be called "component_public"
|
|
*
|
|
* @package InvisionPowerBoard
|
|
* @subpackage Components
|
|
* @author Matt Mecham
|
|
* @version 2.1
|
|
*/
|
|
class component_public
|
|
{
|
|
/**
|
|
* IPSclass object
|
|
*
|
|
* @var object
|
|
*/
|
|
var $ipsclass;
|
|
|
|
|
|
/**
|
|
* Main function that's run from index.php
|
|
*
|
|
*/
|
|
function run_component()
|
|
{
|
|
print "hello";
|
|
exit();
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
?>
|