Last change
on this file since 22763 was
19875,
checked in by julien1311, 12 years ago
|
[file_uploader] lots of bug fixes
|
-
Property svn:eol-style set to
LF
|
File size:
792 bytes
|
Rev | Line | |
---|
[19472] | 1 | <?php |
---|
| 2 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
| 3 | |
---|
| 4 | function plugin_install() { |
---|
[19875] | 5 | require_once('install/functions.inc.php'); |
---|
| 6 | require('install/config_default.inc.php'); |
---|
[19472] | 7 | |
---|
[19875] | 8 | file_uploader_install($file_uploader_default_config); |
---|
| 9 | file_uploader_folder($file_uploader_galleries_folder, $file_uploader_galleries_dir, $file_uploader_galleries_folder_name); |
---|
[19472] | 10 | } |
---|
| 11 | |
---|
| 12 | function plugin_activate() { |
---|
[19875] | 13 | require_once('install/functions.inc.php'); |
---|
| 14 | require('install/config_default.inc.php'); |
---|
[19775] | 15 | |
---|
[19875] | 16 | file_uploader_update_db($file_uploader_default_config); |
---|
| 17 | file_uploader_folder($file_uploader_galleries_folder, $file_uploader_galleries_dir, $file_uploader_galleries_folder_name); |
---|
[19472] | 18 | } |
---|
| 19 | |
---|
| 20 | function plugin_uninstall() { |
---|
[19875] | 21 | require_once('install/functions.inc.php'); |
---|
[19821] | 22 | |
---|
| 23 | file_uploader_delete_conf("file_uploader"); |
---|
[19472] | 24 | } |
---|
| 25 | |
---|
| 26 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.