siteguard-admin-filter.php
11 years ago
siteguard-base.php
11 years ago
siteguard-captcha.php
11 years ago
siteguard-config.php
11 years ago
siteguard-disable-pingback.php
11 years ago
siteguard-htaccess.php
11 years ago
siteguard-login-history.php
11 years ago
siteguard-login-lock.php
11 years ago
siteguard-rename-login.php
11 years ago
siteguard-waf-exclude-rule.php
11 years ago
siteguard-config.php
20 lines
| 1 | <?php |
| 2 | |
| 3 | class SiteGuard_Config { |
| 4 | var $config; |
| 5 | function __construct() { |
| 6 | $this->config = get_option( 'siteguard_config' ); |
| 7 | } |
| 8 | function set( $key, $value ) { |
| 9 | $this->config[ $key ] = $value; |
| 10 | } |
| 11 | function get( $key ) { |
| 12 | return isset( $this->config[ $key ] ) ? $this->config[ $key ] : ''; |
| 13 | } |
| 14 | function update( ) { |
| 15 | update_option( 'siteguard_config', $this->config ); |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | ?> |
| 20 |