Changeset 31370 for extensions/AntiAspi/maintain.class.php
- Timestamp:
- Feb 26, 2016, 11:26:37 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AntiAspi/maintain.class.php
r29307 r31370 43 43 function update($old_version, $new_version, &$errors=array()) 44 44 { 45 global $conf; 46 47 if (!isset($conf['antiaspi'])) 48 { 49 $conf['antiaspi'] = array( 50 'diff' => '20 pages in 00:00:10' , 51 'same' => '15 pages in 00:00:30' , 52 'banned during' => '23:59:59' , 53 'only guest' => true , 54 'only picture' => false , 55 'allowed ip' => array('123.123.123.123','122.122.122.122'), 56 ); 57 conf_update_param('antiaspi', $conf['antiaspi']); 58 } 59 45 60 $this->install($new_version, $errors); 46 61 }
Note: See TracChangeset
for help on using the changeset viewer.