Last change
on this file since 20886 was
19647,
checked in by julien1311, 12 years ago
|
lots of things...
|
-
Property svn:eol-style set to
LF
|
File size:
654 bytes
|
Rev | Line | |
---|
[19284] | 1 | <?php |
---|
| 2 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
| 3 | |
---|
| 4 | function plugin_install() { |
---|
[19647] | 5 | include_once(dirname(__FILE__).'/install/functions.inc.php'); |
---|
| 6 | include_once(dirname(__FILE__).'/install/config_default.inc.php'); |
---|
[19284] | 7 | |
---|
[19631] | 8 | media_icon_install_general($config_default_general); |
---|
| 9 | media_icon_install_advanced($config_default_advanced); |
---|
[19284] | 10 | } |
---|
| 11 | |
---|
| 12 | function plugin_activate() { |
---|
[19647] | 13 | include_once(dirname(__FILE__).'/install/functions.inc.php'); |
---|
[19631] | 14 | |
---|
| 15 | media_icon_update_db(); |
---|
[19284] | 16 | } |
---|
| 17 | |
---|
| 18 | function plugin_uninstall() { |
---|
[19647] | 19 | include_once(dirname(__FILE__).'/install/functions.inc.php'); |
---|
| 20 | |
---|
[19631] | 21 | media_icon_delete_conf("media_icon_general"); |
---|
| 22 | media_icon_delete_conf("media_icon_advanced"); |
---|
[19284] | 23 | } |
---|
| 24 | |
---|
| 25 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.