Dotclear


Ignore:
Timestamp:
01/23/11 20:09:53 (13 years ago)
Author:
Moe
Message:

@ Reply 1.6.1: changed plugin permissions (closes #611)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/atReply/index.php

    r2746 r2908  
    2727 
    2828if (!defined('DC_CONTEXT_ADMIN')) {return;} 
     29 
     30if (!$core->auth->check('admin',$core->blog->id)) 
     31{ 
     32     echo('<html><head><title>Error</title></head>'. 
     33          '<body><p class="error">'. 
     34          __('Invalid permission.'). 
     35          '</p></body></html>'); 
     36     return; 
     37} 
    2938 
    3039$settings =& $core->blog->settings; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map