<?php if (!defined('ABSPATH') && !defined('MCDATAPATH')) exit; if (!class_exists('MCProtectLogger_V591')) : require_once dirname( __FILE__ ) . '/logger/fs.php'; require_once dirname( __FILE__ ) . '/logger/db.php'; class MCProtectLogger_V591 { private $log_destination; const TYPE_FS = 0; const TYPE_DB = 1; function __construct($name, $type = MCProtectLogger_V591::TYPE_DB) { if ($type == MCProtectLogger_V591::TYPE_FS) { $this->log_destination = new MCProtectLoggerFS_V591($name); } else { $this->log_destination = new MCProtectLoggerDB_V591($name); } } public function log($data) { $this->log_destination->log($data); } } endif;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
fw | Folder | 0755 |
|
|
ipstore | Folder | 0755 |
|
|
lib | Folder | 0755 |
|
|
logger | Folder | 0755 |
|
|
prepend | Folder | 0755 |
|
|
fw.php | File | 47.48 KB | 0644 |
|
ipstore.php | File | 1.4 KB | 0644 |
|
lib.php | File | 116 B | 0644 |
|
logger.php | File | 656 B | 0644 |
|
lp.php | File | 8.57 KB | 0644 |
|
protect.php | File | 4.27 KB | 0644 |
|
request.php | File | 8.75 KB | 0644 |
|
wp_user.php | File | 1.63 KB | 0644 |
|