Ignore:
Timestamp:
Dec 17, 2009, 2:02:44 AM (15 years ago)
Author:
plg
Message:

bug 1328: implements check_pwg_token at plugin management level.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/admin/plugins_list.php

    r3949 r4506  
    3939if (isset($_GET['action']) and isset($_GET['plugin']) and !is_adviser())
    4040{
     41  check_pwg_token();
     42 
    4143  $page['errors'] = $plugins->perform_action($_GET['action'], $_GET['plugin']);
    4244
     
    9799          'VERSION' => $fs_plugin['version'],
    98100          'DESCRIPTION' => $desc,
    99           'U_ACTION' => $base_url.'&plugin='.$plugin_id);
     101          'U_ACTION' => $base_url.'&plugin='.$plugin_id.'&pwg_token='.get_pwg_token());
    100102
    101103  if (isset($plugins->db_plugins_by_id[$plugin_id]))
Note: See TracChangeset for help on using the changeset viewer.