Changeset 7699

Show
Ignore:
Timestamp:
05/08/09 08:02:29 (1 year ago)
Author:
p_lindheimer
Message:

create more friendly error page with option to proceed with suspect link re #3660

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/htdocs/admin/config.php

    r7641 r7699  
    5656 
    5757        if (!$refererok) { 
    58                 die_freepbx(_("POTENTIAL SECURITY BREACH: an attempt was made to modify settings from a URL that did not come from a FreePBX page. This action has been blocked because the HTTP_REFERER does not match your current SERVER. If you require this access, you can set CHECKREFERER=false in amportal.conf to disable this security check")); 
     58                showview('bad_refferer'); 
     59                exit; 
    5960        } 
    6061}