Last change
on this file since 21466 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
|
Line | |
---|
1 | <?php |
---|
2 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
3 | |
---|
4 | function plugin_install() { |
---|
5 | require_once('install/functions.inc.php'); |
---|
6 | require('install/config_default.inc.php'); |
---|
7 | |
---|
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); |
---|
10 | } |
---|
11 | |
---|
12 | function plugin_activate() { |
---|
13 | require_once('install/functions.inc.php'); |
---|
14 | require('install/config_default.inc.php'); |
---|
15 | |
---|
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); |
---|
18 | } |
---|
19 | |
---|
20 | function plugin_uninstall() { |
---|
21 | require_once('install/functions.inc.php'); |
---|
22 | |
---|
23 | file_uploader_delete_conf("file_uploader"); |
---|
24 | } |
---|
25 | |
---|
26 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.