plugins/admin/PluginManager.php
changeset 869 58bc29c14a4d
parent 844 7549f2880c32
child 975 bff25c6113ae
--- a/plugins/admin/PluginManager.php	Sun Mar 15 11:15:16 2009 -0400
+++ b/plugins/admin/PluginManager.php	Wed Mar 18 11:35:28 2009 -0400
@@ -151,6 +151,19 @@
                 );
                 break;
               }
+              if ( !isset($request['install_confirmed']) )
+              {
+                if ( $plugins->is_file_auth_plugin($request['plugin']) )
+                {
+                  $return = array(
+                    'confirm_title' => 'acppl_msg_confirm_authext_title',
+                    'confirm_body' => 'acppl_msg_confirm_authext_body',
+                    'need_confirm' => true,
+                    'success' => false
+                  );
+                  break;
+                }
+              }
               
               $return = $plugins->install_plugin($request['plugin'], $plugin_list);
               break;