403Webshell
Server IP : 68.178.247.200  /  Your IP : 216.73.216.14
Web Server : Apache
System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : x9dppmxs4rgd ( 8559391)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/x9dppmxs4rgd/www/wp-content/themes/grace-church/fw/core/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/x9dppmxs4rgd/www/wp-content/themes/grace-church/fw/core//core.globals.php
<?php
/**
 * Grace-Church Framework: global variables storage
 *
 * @package	grace_church
 * @since	grace_church 1.0
 */

// Disable direct call
if ( ! defined( 'ABSPATH' ) ) { exit; }

// Get global variable
if (!function_exists('grace_church_get_global')) {
	function grace_church_get_global($var_name) {
		global $GRACE_CHURCH_GLOBALS;
		return isset($GRACE_CHURCH_GLOBALS[$var_name]) ? $GRACE_CHURCH_GLOBALS[$var_name] : '';
	}
}

// Set global variable
if (!function_exists('grace_church_set_global')) {
	function grace_church_set_global($var_name, $value) {
		global $GRACE_CHURCH_GLOBALS;
		$GRACE_CHURCH_GLOBALS[$var_name] = $value;
	}
}

// Inc/Dec global variable with specified value
if (!function_exists('grace_church_inc_global')) {
	function grace_church_inc_global($var_name, $value=1) {
		global $GRACE_CHURCH_GLOBALS;
		$GRACE_CHURCH_GLOBALS[$var_name] += $value;
	}
}

// Concatenate global variable with specified value
if (!function_exists('grace_church_concat_global')) {
	function grace_church_concat_global($var_name, $value) {
		global $GRACE_CHURCH_GLOBALS;
		$GRACE_CHURCH_GLOBALS[$var_name] .= $value;
	}
}

// Get global array element
if (!function_exists('grace_church_get_global_array')) {
	function grace_church_get_global_array($var_name, $key) {
		global $GRACE_CHURCH_GLOBALS;
		return isset($GRACE_CHURCH_GLOBALS[$var_name][$key]) ? $GRACE_CHURCH_GLOBALS[$var_name][$key] : '';
	}
}

// Set global array element
if (!function_exists('grace_church_set_global_array')) {
	function grace_church_set_global_array($var_name, $key, $value) {
		global $GRACE_CHURCH_GLOBALS;
		if (!isset($GRACE_CHURCH_GLOBALS[$var_name])) $GRACE_CHURCH_GLOBALS[$var_name] = array();
		$GRACE_CHURCH_GLOBALS[$var_name][$key] = $value;
	}
}

// Inc/Dec global array element with specified value
if (!function_exists('grace_church_inc_global_array')) {
	function grace_church_inc_global_array($var_name, $key, $value=1) {
		global $GRACE_CHURCH_GLOBALS;
		$GRACE_CHURCH_GLOBALS[$var_name][$key] += $value;
	}
}

// Concatenate global array element with specified value
if (!function_exists('grace_church_concat_global_array')) {
	function grace_church_concat_global_array($var_name, $key, $value) {
		global $GRACE_CHURCH_GLOBALS;
		$GRACE_CHURCH_GLOBALS[$var_name][$key] .= $value;
	}
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit