Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | Plugin Name: Shadogo |
---|
4 | Author: Binaryworld |
---|
5 | Author URI: http://binaryworld.hd.free.fr/ |
---|
6 | */ |
---|
7 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
8 | //if (!defined( 'DS')) define( 'DS', DIRECTORY_SEPARATOR ); |
---|
9 | |
---|
10 | define('SHADOGO_PATH' , PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/'); |
---|
11 | include_once SHADOGO_PATH .'config.inc.php'; |
---|
12 | |
---|
13 | |
---|
14 | function 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 | |
---|
22 | function plugin_uninstall($plugin_id) { |
---|
23 | ShadogoConfig::uninstall(); |
---|
24 | } |
---|
25 | |
---|
26 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.