Changeset 19775 for extensions/File_Uploader/maintain.inc.php
- Timestamp:
- Jan 4, 2013, 12:31:23 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/File_Uploader/maintain.inc.php
r19676 r19775 3 3 4 4 function plugin_install() { 5 include(dirname(__FILE__).'/install/config_default.inc.php'); 5 include_once(dirname(__FILE__).'/install/config_default.inc.php'); 6 include_once(dirname(__FILE__).'/install/functions.inc.php'); 6 7 7 8 $query = 'INSERT INTO '.CONFIG_TABLE.' (param,value,comment) VALUES ("file_uploader" ,"'.pwg_db_real_escape_string(serialize($config_default)).'", "File Uploader plugin parameters");'; 8 9 pwg_query($query); 10 11 file_uploader_folder($file_uploader_galleries_folder, $file_uploader_galleries_dir); 9 12 } 10 13 11 14 function plugin_activate() { 12 15 include_once(dirname(__FILE__).'/install/config_default.inc.php'); 16 include_once(dirname(__FILE__).'/install/functions.inc.php'); 17 18 file_uploader_folder($file_uploader_galleries_folder, $file_uploader_galleries_dir); 13 19 } 14 20
Note: See TracChangeset
for help on using the changeset viewer.