HEX
Server: Apache
System: Linux digivps 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC 2025 x86_64
User: root (0)
PHP: 8.3.15
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/biographybirthday.com/wp-content/plugins/webp-express/lib/classes/WCFMPage.php
<?php

namespace WebPExpress;
use \WebPConvert\WebPConvert;
/**
 *
 */

class WCFMPage
{

    // callback (registred in AdminUi)
    public static function display() {
        echo '<div id="wcfmintro">' .
          '<h1>WebP Express Conversion Browser</h1>' .
          '</div>';

        echo '<div id="webpconvert-filemanager" style="position:relative; min-height:400px">loading</div>';
        //include WEBPEXPRESS_PLUGIN_DIR . '/lib/options/page.php';

  /*      require_once __DIR__ . "/../../vendor/autoload.php";
//        print_r(WebPConvert::getConverterOptionDefinitions('png', false, true));
        echo '<pre>' .
            print_r(
                json_encode(
                    WebPConvert::getConverterOptionDefinitions('png', false, true),
                    JSON_PRETTY_PRINT
                ),
                true
            ) . '</pre>';*/
    }

    /* We add directly to head instead, to get the type="module"
    public static function enqueueScripts() {
        $ver = '0';
        wp_register_script('wcfileman', plugins_url('js/wcfm/index.js', WEBPEXPRESS_PLUGIN), [], $ver);
        wp_enqueue_script('wcfileman');
    }*/

    public static function addToHead() {
        $baseUrl = plugins_url('lib/wcfm', WEBPEXPRESS_PLUGIN);
        //$url = plugins_url('js/conversion-manager/index.be5d792e.js  ', WEBPEXPRESS_PLUGIN);

        $wcfmNonce = wp_create_nonce('webpexpress-wcfm-nonce');
        echo '<scr' . 'ipt>window.webpExpressWCFMNonce = "' . $wcfmNonce . '";</scr' . 'ipt>';

        echo '<scr' . 'ipt src="' . $baseUrl . '/wcfm-options.js?25"></scr' . 'ipt>';
        //echo '<scr' . 'ipt type="module" src="' . $baseUrl . '/vendor.js?1"></scr' . 'ipt>';

        echo '<scr' . 'ipt type="module" src="' . $baseUrl . '/index.be5d792e.js"></scr' . 'ipt>';
        echo '<link rel="stylesheet" href="' . $baseUrl . '/index.0c25b0fb.css">';
    }

}