source: extensions/Shadogo/trunk/maintain.inc.php @ 10016

Last change on this file since 10016 was 10016, checked in by binaryworld, 14 years ago
File size: 655 bytes
Line 
1<?php
2/*
3Plugin Name: Shadogo
4Author: Binaryworld
5Author URI: http://binaryworld.hd.free.fr/
6*/
7if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
8//if (!defined( 'DS')) define( 'DS', DIRECTORY_SEPARATOR );
9
10define('SHADOGO_PATH' , PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/');
11include_once SHADOGO_PATH .'config.inc.php';
12
13
14function plugin_install($plugin_id, $plugin_version, &$errors) { 
15        ShadogoConfig::install();
16}
17
18//function plugin_activate($plugin_id, $plugin_version, &$errors) { }
19
20//function plugin_deactivate($plugin_id) { }
21
22function plugin_uninstall($plugin_id) {
23        ShadogoConfig::uninstall();
24}
25
26?>
Note: See TracBrowser for help on using the repository browser.