Revision 114
Added by stefan about 19 years ago
install.php | ||
---|---|---|
123 | 123 |
|
124 | 124 |
// Print success message |
125 | 125 |
if ($action=="install") { |
126 |
$admin->print_success($MESSAGE['GENERIC']['INSTALLED']); |
|
127 | 126 |
$settings_rows= "INSERT INTO `".TABLE_PREFIX."modules` VALUES " |
128 |
." ('', '".$module_name."', '".$module_type."', '".$module_directory."');";
|
|
127 |
." ('', '$module_name', '$module_type', '$module_directory' );";
|
|
129 | 128 |
$database->query($settings_rows); |
129 |
$admin->print_success($MESSAGE['GENERIC']['INSTALLED']); |
|
130 | 130 |
} else if ($action=="upgrade") { |
131 | 131 |
$admin->print_success($MESSAGE['GENERIC']['UPGRADED']); |
132 | 132 |
} |
Also available in: Unified diff
Module table entries now get deleted upon module installation. Removed 1 second delay in admin success messages.