Last change
on this file since 19811 was
19811,
checked in by julien1311, 11 years ago
|
add an admin page to choose the extension to handle
|
-
Property svn:eol-style set to
LF
|
File size:
514 bytes
|
Rev | Line | |
---|
[19673] | 1 | <?php |
---|
| 2 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
| 3 | |
---|
| 4 | function plugin_install() { |
---|
[19811] | 5 | include_once(dirname(__FILE__).'/install/functions.inc.php'); |
---|
| 6 | include_once(dirname(__FILE__).'/install/config_default.inc.php'); |
---|
| 7 | |
---|
| 8 | pdf2tab_install($config_default); |
---|
[19673] | 9 | } |
---|
| 10 | |
---|
| 11 | function plugin_activate() { |
---|
[19811] | 12 | include_once(dirname(__FILE__).'/install/functions.inc.php'); |
---|
| 13 | |
---|
| 14 | pdf2tab_update_db(); |
---|
[19673] | 15 | } |
---|
| 16 | |
---|
| 17 | function plugin_uninstall() { |
---|
[19811] | 18 | include_once(dirname(__FILE__).'/install/functions.inc.php'); |
---|
| 19 | |
---|
| 20 | pdf2tab_delete_conf("pdf2tab"); |
---|
[19673] | 21 | } |
---|
[19811] | 22 | |
---|
[19673] | 23 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.