Revision 142
Added by ryan about 19 years ago
trunk/wb/admin/modules/install.php | ||
---|---|---|
124 | 124 |
// Print success message |
125 | 125 |
if ($action=="install") { |
126 | 126 |
$settings_rows= "INSERT INTO `".TABLE_PREFIX."addons` (directory,name,description,type,function,version,platform,author,license) VALUES " |
127 |
." ('$module_directory', '$module_name', '$module_description', '$module_type', '$module_function', '$module_version', '$module_platform', '$module_author', '$module_license');";
|
|
127 |
." ('$module_directory', '$module_name', '$module_description', 'module', '$module_function', '$module_version', '$module_platform', '$module_author', '$module_license');";
|
|
128 | 128 |
$database->query($settings_rows); |
129 | 129 |
$admin->print_success($MESSAGE['GENERIC']['INSTALLED']); |
130 | 130 |
} else if ($action=="upgrade") { |
Also available in: Unified diff
Updated module install code for correct insertion into addons table