Hackfut Security File Manager
Current Path:
/home/haielekt/videotronindonesia.co.id/wp-content/plugins/wp-rocket/inc
home
/
haielekt
/
videotronindonesia.co.id
/
wp-content
/
plugins
/
wp-rocket
/
inc
/
📁
..
📁
3rd-party
📁
API
📁
Addon
📁
Dependencies
📁
Engine
📁
Logger
📄
Plugin.php
(12.58 KB)
📁
ThirdParty
📁
admin
📁
classes
📁
common
📄
compat.php
(940 B)
📄
constants.php
(864 B)
📁
deprecated
📄
domain-mapping.php
(2.05 KB)
📁
front
📁
functions
📄
main.php
(3.41 KB)
📁
vendors
Editing: compat.php
<?php defined( 'ABSPATH' ) || exit; if ( ! function_exists( 'str_starts_with' ) ) { /** * Polyfill for str_starts_with() function added in PHP 8.0. * * @param string $haystack The string to search in. * @param string $needle The substring to search for in the haystack. * * @return bool True if $needle is in $haystack, otherwise false. */ function str_starts_with( $haystack, $needle ) { if ( '' === $needle ) { return true; } return 0 === strpos( $haystack, $needle ); } } if ( ! function_exists( 'str_contains' ) ) { /** * Polyfill for str_contains() function added in PHP 8.0. * * @param string $haystack The string to search in. * @param string $needle The substring to search for in the haystack. * * @return bool True if $needle is in $haystack, otherwise false. */ function str_contains( $haystack, $needle ) { return ( '' === $needle || false !== strpos( $haystack, $needle ) ); } }
Upload File
Create Folder