source: extensions/GuestBook/maintain.inc.php @ 26009

Last change on this file since 26009 was 24890, checked in by mistic100, 11 years ago

parse error

File size: 525 bytes
RevLine 
[15940]1<?php
2if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
3
[24889]4defined('GUESTBOOK_ID') or define('GUESTBOOK_ID', basename(dirname(__FILE__)));
5include_once(PHPWG_PLUGINS_PATH . GUESTBOOK_ID . '/include/install.inc.php');
[15940]6
7// Installation
8function plugin_install()
9{
[24889]10  guestbook_install();
[24890]11  define('guestbook_installed', true);
[15940]12}
13
14// Activation
15function plugin_activate()
16{
[24889]17  if (!defined('guestbook_installed'))
[15940]18  {
[24889]19    guestbook_install();
[15940]20  }
21}
22
23// Uninstallation
24function plugin_uninstall()
25{
[24889]26  guestbook_uninstall();
27}
Note: See TracBrowser for help on using the repository browser.