Files
IPB/upload/sources/components_init/hello.php
T
2025-12-19 00:21:15 -08:00

76 lines
2.6 KiB
PHP

<?php
/*
+--------------------------------------------------------------------------
| Invision Power Board 2.1.7
| =============================================
| by Matthew Mecham
| (c) 2001 - 2005 Invision Power Services, Inc.
| http://www.invisionpower.com
| =============================================
| Web: http://www.invisionboard.com
| http://www.ibresource.ru/products/invisionpowerboard/
| Time: Tuesday 18th of July 2006 05:56:00 PM
| Release: 52f408a29988b02f45b5e6f4ba5af0ae
| Licence Info: http://www.invisionboard.com/?license
| http://www.ibresource.ru/license
+---------------------------------------------------------------------------
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
+---------------------------------------------------------------------------
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
+---------------------------------------------------------------------------
| > $Date: 2005-10-10 14:08:54 +0100 (Mon, 10 Oct 2005) $
| > $Revision: 23 $
| > $Author: matt $
+---------------------------------------------------------------------------
|
| > MODULE INIT FILE
| > Module written by Matt Mecham
| > Date started: Wed 20th April 2005 (16:28)
|
+--------------------------------------------------------------------------
*/
if ( ! defined( 'IN_IPB' ) )
{
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
exit();
}
/*
+--------------------------------------------------------------------------
| This module has one function:
| run_init: Do any work you want to do before the caches are loaded and
| processed
+--------------------------------------------------------------------------
*/
//-----------------------------------------
// This must always be 'component_init'
//-----------------------------------------
class component_init
{
var $ipsclass;
/*-------------------------------------------------------------------------*/
// run_init
// Do any work before the caches are loaded.
// ADD to $this->ipsclass->cache_array()
// DO NOT overwrite it or call $this->ipsclass->cache_array = array(...);
// As the array has already been started off by IPB in index.php
/*-------------------------------------------------------------------------*/
function run_init()
{
$this->ipsclass->cache_array[] = 'chatting';
}
}
?>