Plugin Directory

Changeset 1759605


Ignore:
Timestamp:
11/06/2017 06:12:34 PM (8 years ago)
Author:
technoyer
Message:

adding new version

Location:
bravo-security/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bravo-security/trunk/bravo-config.php

    r1751191 r1759605  
    6363    }
    6464}
     65
     66//self defense or self protection options
     67if(!defined( 'TEBRAVO_SELFP' )){define ('TEBRAVO_SELFP', false);}
    6568?>
  • bravo-security/trunk/includes/tebravo.selfprotect.php

    r1751191 r1759605  
    2525            }
    2626           
    27             add_action('admin_init', array($this, 'xss_protect'));
    28             add_action('admin_head', array($this, 'check_admins'));
    29             add_action('admin_head', array($this, 'password_protection'));
    30             add_action('admin_notices', array($this, 'check_browser_security'));
     27            if( defined( 'TEBRAVO_SELFP' ) && TEBRAVO_SELFP == true )
     28            {
     29                add_action('admin_init', array($this, 'xss_protect'));
     30                add_action('admin_head', array($this, 'check_admins'));
     31                add_action('admin_head', array($this, 'password_protection'));
     32                add_action('admin_notices', array($this, 'check_browser_security'));
     33            }
    3134        }
    3235       
  • bravo-security/trunk/readme.txt

    r1751264 r1759605  
    1414
    1515
    16 [http://bravo.technoyer.com](http://bravo.technoyer.com)
     16http://bravo.technoyer.com(http://bravo.technoyer.com)
    1717
    1818
Note: See TracChangeset for help on using the changeset viewer.