One Hat Cyber Team
Your IP :
216.73.216.80
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
vo
/
public_html
/
Laspi
/
modules
/
Wiki
/
View File Name :
pninit.php
<?php // $Id: pninit.php,v 1.1.1.1 2002/09/15 22:26:15 root Exp $ // ---------------------------------------------------------------------- // POST-NUKE Content Management System // Copyright (C) 2001 by the PostNuke Development Team. // http://www.postnuke.com/ // ---------------------------------------------------------------------- // Based on: // PHP-NUKE Web Portal System - http://phpnuke.org/ // Thatware - http://thatware.org/ // ---------------------------------------------------------------------- // LICENSE // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License (GPL) // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WIthOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // To read the license please visit http://www.gnu.org/copyleft/gpl.html // ---------------------------------------------------------------------- // Original Author of file: Jim McDonald // Purpose of file: Initialisation functions for Wiki encoding // ---------------------------------------------------------------------- /** * initialise the Wiki module */ function wiki_init() { // Set up module variables // these are the authorised links. pnModSetVar('Wiki', 'AllowedProtocols', 'http|https|mailto|ftp|news|gopher'); // an image may be one of these. pnModSetVar('Wiki', 'InlineImages', 'png|jpg|gif'); // if a link is http://something, it can be directed in a new window, or in the same one. pnModSetVar('Wiki', 'ExtlinkNewWindow', true); pnModSetVar('Wiki', 'IntlinkNewWindow', false); // dont touch this one. pnModSetVar('Wiki', 'FieldSeparator', "\263"); // Set up module hooks if (!pnModRegisterHook('item', 'transform', 'API', 'Wiki', 'user', 'transform')) { pnSessionSetVar('errormsg', _WIKICOULDNOTREGISTER); return false; } // Initialisation successful return true; } /** * upgrade the wiki module from an old version */ function wiki_upgrade($oldversion) { return true; } /** * delete the wiki_ module */ function wiki_delete() { // Remove module hooks if (!pnModUnregisterHook('item', 'transform', 'API', 'Wiki', 'user', 'transform')) { pnSessionSetVar('errormsg', _WIKICOULDNOTUNREGISTER); return false; } // Remove module variables pnModDelVar('Wiki', 'FieldSeparator'); pnModDelVar('Wiki', 'IntlinkNewWindow'); pnModDelVar('Wiki', 'ExtlinkNewWindow'); pnModDelVar('Wiki', 'AllowedProtocols'); pnModDelVar('Wiki', 'InlineImages'); // Deletion successful return true; } ?>