REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 2.57 KB
Close
/home/nshryvcy/blissfulnepal.com/wp-content/plugins/malcare-security/callback/wings/dynsync.php
Text
Base64
<?php if (!defined('ABSPATH')) exit; if (!class_exists('MCDynSyncCallback')) : require_once dirname( __FILE__ ) . '/../../wp_dynsync.php'; class MCDynSyncCallback extends MCCallbackBase { public $db; public $settings; const DYNSYNC_WING_VERSION = 1.0; public function __construct($callback_handler) { $this->db = $callback_handler->db; $this->settings = $callback_handler->settings; } public function dropDynSyncTable() { return $this->db->dropBVTable(BVWPDynSync::$dynsync_table); } public function createDynSyncTable($usedbdelta = false) { $db = $this->db; $charset_collate = $db->getCharsetCollate(); $table = $this->db->getBVTable(BVWPDynSync::$dynsync_table); $query = "CREATE TABLE $table ( id bigint(20) NOT NULL AUTO_INCREMENT, site_id int NOT NULL, event_type varchar(40) NOT NULL DEFAULT '', event_tag varchar(40) NOT NULL DEFAULT '', event_data text NOT NULL DEFAULT '', PRIMARY KEY (id) ) $charset_collate;"; return $db->createTable($query, BVWPDynSync::$dynsync_table, $usedbdelta); } public function process($request) { $settings = $this->settings; $params = $request->params; switch ($request->method) { case "truncdynsynctable": $resp = array("status" => $this->db->truncateBVTable(BVWPDynSync::$dynsync_table)); break; case "dropdynsynctable": $resp = array("status" => $this->dropDynSyncTable()); break; case "createdynsynctable": $usedbdelta = array_key_exists('usedbdelta', $params); $resp = array("status" => $this->createDynSyncTable($usedbdelta)); break; case "setdynsync": if (array_key_exists('dynplug', $params)) { $settings->updateOption('bvdynplug', $params['dynplug']); } else { $settings->deleteOption('bvdynplug'); } $settings->updateOption('bvDynSyncActive', $params['dynsync']); $resp = array("status" => "done"); break; case "setwoodyn": $resp = array("status" => $settings->updateOption('bvWooDynSync', $params['woodyn'])); break; case "setignorednames": switch ($params['table']) { case "options": $settings->updateOption('bvIgnoredOptions', $params['names']); break; case "postmeta": $settings->updateOption('bvIgnoredPostmeta', $params['names']); break; } $resp = array("status" => "done"); break; case "getignorednames": switch ($params['table']) { case "options": $names = $settings->getOption('bvIgnoredOptions'); break; case "postmeta": $names = $settings->getOption('bvIgnoredPostmeta'); break; } $resp = array("names", $names); break; default: $resp = false; } return $resp; } } endif;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 15
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
account.php
2.71 KB
lrw-r--r--
2026-06-07 01:29:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
actlog.php
1.65 KB
lrw-r--r--
2026-06-07 01:29:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
brand.php
1.27 KB
lrw-r--r--
2026-06-07 01:29:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
bv_upgrader_skin.php
2.23 KB
lrw-r--r--
2026-06-07 01:29:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
db.php
11.76 KB
lrw-r--r--
2026-06-07 01:29:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
dynsync.php
2.57 KB
lrw-r--r--
2026-06-07 01:29:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
fs.php
15.51 KB
lrw-r--r--
2026-06-07 01:29:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
fs_write.php
15.01 KB
lrw-r--r--
2026-06-07 01:29:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
info.php
17.77 KB
lrw-r--r--
2026-06-07 01:29:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ipstore.php
4.03 KB
lrw-r--r--
2026-06-07 01:29:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
manage.php
35.19 KB
lrw-r--r--
2026-06-07 01:29:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
misc.php
8.17 KB
lrw-r--r--
2026-06-07 01:29:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
protect.php
3.20 KB
lrw-r--r--
2026-06-07 01:29:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
security.php
5.36 KB
lrw-r--r--
2026-06-07 01:29:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
watch.php
10.43 KB
lrw-r--r--
2026-06-07 01:29:47
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).