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_new.php

    r3144 r4506  
    3939if (isset($_GET['revision']) and isset($_GET['extension']) and !is_adviser())
    4040{
     41  check_pwg_token();
     42 
    4143  $install_status = $plugins->extract_plugin_files('install', $_GET['revision'], $_GET['extension']);
    4244
     
    111113    $url_auto_install = htmlentities($base_url)
    112114      . '&revision=' . $plugin['revision_id']
    113       . '&extension=' . $plugin['extension_id'];
     115      . '&extension=' . $plugin['extension_id']
     116      . '&pwg_token='.get_pwg_token()
     117    ;
    114118
    115119    $template->append('plugins', array(
Note: See TracChangeset for help on using the changeset viewer.