PHP Classes

File: config/filearea_rules.json.example

Recommend this page to a friend!
  Packages of Matthew Asham   Binkterm PHP   config/filearea_rules.json.example   Download  
File: config/filearea_rules.json.example
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Binkterm PHP
Bulletin board system based on the Web
Author: By
Last change:
Date: 5 days ago
Size: 1,391 bytes
 

Contents

Class file image Download
{ "global_rules": [ { "name": "Block Dangerous Extensions", "pattern": "/\\.(exe|com|bat|cmd|scr|vbs|js)$/i", "script": "echo 'Blocked dangerous file: %filename%'", "success_action": "delete+notify", "fail_action": "keep", "enabled": false, "timeout": 10 } ], "area_rules": { "NODELIST": [ { "name": "Import FidoNet Nodelist", "domain": "fidonet", "pattern": "/^NODELIST\\.(Z|A|L|R|J)[0-9]{2}$/i", "script": "php %basedir%/scripts/import_nodelist.php %filepath% %domain% --force", "success_action": "keep", "fail_action": "keep+notify", "enabled": true, "timeout": 300 }, "LVLY_NODELIST@lovlynet": [ { "name": "Import LovlyNet Nodelist", "domain": "lovlynet", "pattern": "/^LOVLYNET\\.(Z|A|L|R|J)[0-9]{2}$/i", "script": "php %basedir%/scripts/import_nodelist.php %filepath% %domain% --force", "success_action": "keep", "fail_action": "keep+notify", "enabled": true, "timeout": 300 } ], ] } }