File "migration-3.4.5.php"
Full Path: /home/attunedd/public_html/byp/wp-content/plugins/wpide/migrations/migration-3.4.5.php
File size: 464 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* Note: This file may contain artifacts of previous malicious infection.
* However, the dangerous code has been removed, and the file is now safe to use.
*/
?>
<?php
use WPIDE\App\AppConfig;
use const WPIDE\Constants\CONTENT_DIR;
$root = AppConfig::get('file.root');
$content_dir = basename(CONTENT_DIR);
if(!str_contains($root, $content_dir)) {
$root = str_replace(ABSPATH, "/", CONTENT_DIR.$root);
AppConfig::update('file.root', $root);
}