文件操作 - logger.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/upzenhealth/public_html/wp-content/plugins/malcare-security/protect/logger.php
编辑文件内容
<?php if (!defined('ABSPATH') && !defined('MCDATAPATH')) exit; if (!class_exists('MCProtectLogger_V636')) : require_once dirname( __FILE__ ) . '/logger/fs.php'; require_once dirname( __FILE__ ) . '/logger/db.php'; class MCProtectLogger_V636 { private $log_destination; const TYPE_FS = 0; const TYPE_DB = 1; function __construct($name, $type = MCProtectLogger_V636::TYPE_DB) { if ($type == MCProtectLogger_V636::TYPE_FS) { $this->log_destination = new MCProtectLoggerFS_V636($name); } else { $this->log_destination = new MCProtectLoggerDB_V636($name); } } public function log($data) { $this->log_destination->log($data); } } endif;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件