HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.34
System: Linux atalantini.com 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020 x86_64
User: root (0)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: //opt/plugins/wpdiscuz/utils/functions.php
<?php

if (!defined('ABSPATH')) {
    exit();
}
$wpcCurrentThemDir = get_stylesheet_directory();
$wpdiscuzWalkerThemePath = $wpcCurrentThemDir . DIRECTORY_SEPARATOR . 'wpdiscuz' . DIRECTORY_SEPARATOR . 'class.WpdiscuzWalker.php';
if (file_exists($wpdiscuzWalkerThemePath)) {
    include_once $wpdiscuzWalkerThemePath;
} elseif (file_exists(get_template_directory() . DIRECTORY_SEPARATOR . 'wpdiscuz' . DIRECTORY_SEPARATOR . 'class.WpdiscuzWalker.php')) {
    include_once get_template_directory() . DIRECTORY_SEPARATOR . 'wpdiscuz' . DIRECTORY_SEPARATOR . 'class.WpdiscuzWalker.php';
} else {
    include_once apply_filters('wpdiscuz_walker_include', WPDISCUZ_DIR_PATH . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'comment' . DIRECTORY_SEPARATOR . 'class.WpdiscuzWalker.php');
}

function wpDiscuz(){
    return WpdiscuzCore::getInstance();
}