| Server IP : 217.160.0.64 / Your IP : 216.73.217.111 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : ws67269618 ( 67269618) PHP Version : 8.4.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /kunden/proc/self/root/kunden/proc/self/cwd/wp-content/plugins/ait-toolkit/ |
Upload File : |
<?php
/*
Plugin Name: AIT Elements Toolkit
Description: Adds Custom Post Types and Elements for AitThemes.Club themes
Plugin URI: https://www.ait-themes.club/wordpress-plugins/ait-elements-toolkit/
Version: 2.0.6
Author: AitThemes.Club
Author URI: https://www.ait-themes.club
License: GPLv2 or later
*/
/* stable@r853 */
define('AIT_TOOLKIT_ENABLED', true);
define('AIT_TOOLKIT_PACKAGE', 'developer');
require_once dirname(__FILE__) . '/lib/AitToolkitUtils.php';
require_once dirname(__FILE__) . '/AitToolkit.php';
spl_autoload_register(array('AitToolkit', 'autoload'));
AitToolkit::run(
__FILE__,
dirname(__FILE__),
plugins_url('', __FILE__)
);
// ===============================================
// PHP compatibility
// -----------------------------------------------
if(!function_exists('array_replace_recursive')){
/**
* Replaces elements from passed arrays into the first array recursively
* for PHP 5 <= 5.3.0
* @return array|null
*/
function array_replace_recursive()
{
$arrays = func_get_args();
$original = array_shift($arrays);
foreach($arrays as $array){
foreach($array as $key => $value){
if(is_array($value) and isset($original[$key])){
$original[$key] = array_replace_recursive($original[$key], $array[$key]);
}else{
$original[$key] = $value;
}
}
}
return $original;
}
}