+++ /dev/null
-<?php\r
-// $Id: pninit.php\r
-// ----------------------------------------------------------------------\r
-// POST-NUKE Content Management System\r
-// Copyright (C) 2002 by the PostNuke Development Team.\r
-// http://www.postnuke.com/\r
-// ----------------------------------------------------------------------\r
-// Based on:\r
-// PHP-NUKE Web Portal System - http://phpnuke.org/\r
-// Thatware - http://thatware.org/\r
-// ----------------------------------------------------------------------\r
-// LICENSE\r
-//\r
-// This program is free software; you can redistribute it and/or\r
-// modify it under the terms of the GNU General Public License (GPL)\r
-// as published by the Free Software Foundation; either version 2\r
-// of the License, or (at your option) any later version.\r
-//\r
-// This program is distributed in the hope that it will be useful,\r
-// but WIthOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
-// GNU General Public License for more details.\r
-//\r
-// To read the license please visit http://www.gnu.org/copyleft/gpl.html\r
-// ----------------------------------------------------------------------\r
-// Filename: 1.0\r
-// Based on : pnATutor\r
-// Postnuked by Cas Nuy\r
-// Purpose of file: Initialisation functions for pnATutor\r
-// ----------------------------------------------------------------------\r
-\r
-/**\r
- * initialise the pnATutor module\r
- * This function is only ever called once during the lifetime of this module\r
- */\r
-function pnATutor_init()\r
-{\r
-\r
- // pnATutor Default Settings\r
- pnModSetVar(pnATutor, '_loc', '/ATutor');\r
- pnModSetVar(pnATutor, '_window', 0);\r
- pnModSetVar(pnATutor, '_db', 'atutor');\r
- pnModSetVar(pnATutor, '_prf', '');\r
- pnModSetVar(pnATutor, '_guest', 'n');\r
- pnModSetVar(pnATutor, '_users', 'n');\r
- pnModSetVar(pnATutor, '_version','1.3.1');\r
- return true;\r
-}\r
-/**\r
- * update the pnATutor module\r
- * This function is only ever called once during the lifetime of this module\r
- */\r
-function pnATutor_upgrade()\r
-{\r
-pnModSetVar(pnATutor, '_prf', '');\r
-return true;\r
-}\r
-\r
-\r
-/**\r
- * delete the pnATutor module\r
- * This function is only ever called once during the lifetime of this module\r
- */\r
-function pnATutor_delete()\r
-{\r
-\r
-pnModDelVar(pnATutor, '_loc');\r
-pnModDelVar(pnATutor, '_window');\r
-pnModDelVar(pnATutor, '_wrap');\r
-pnModDelVar(pnATutor, '_db');\r
-pnModDelVar(pnATutor, '_guest');\r
-pnModDelVar(pnATutor, '_users');\r
-pnModDelVar(pnATutor, '_version');\r
-pnModDelVar(pnATutor, '_prf');\r
-\r
-return true;\r
-}\r
-\r
-?>\r