C:\xampp\htdocs\landing\wp-content\plugins\better-wp-security\core\modules\away-mode\settings.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php

final class ITSEC_Away_Mode_Settings extends ITSEC_Settings {
    public function 
get_id() {
        return 
'away-mode';
    }
    
    public function 
get_defaults() {
        return array(
            
'type'          => 'daily',
            
'start'         => 1,
            
'start_time'    => 100000,
            
'end'           => 1,
            
'end_time'      => 100000,
            
'override_type' => '',
            
'override_end'  => 0,
        );
    }
    
    protected function 
after_save() {
        require_once( 
dirname__FILE__ ) . '/utilities.php' );
        
        
ITSEC_Away_Mode_Utilities::create_active_file();
    }
}

ITSEC_Modules::register_settings( new ITSEC_Away_Mode_Settings() );
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586