🚀 Hostinger Optimized
🖥️ Server: Apache
💻 System: Linux webm015.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
👤 User: stakrfrcol (69043)
🐘 PHP: 8.3.31
🚫 Disabled: _dyuweyrj4,_dyuweyrj4r,dl

💻 Terminal

📁 /home/stakrfrcol/agency
$

📄 FileResolver.php

📁 Path: ./wp-content/plugins/wp-rocket/inc/Engine/Media/Lazyload/CSS/Front/FileResolver.php
📊 Size: 383 B
🔒 Perm: 0644
📝 MIME: text/x-php
<?php

namespace WP_Rocket\Engine\Media\Lazyload\CSS\Front;

class FileResolver {

	/**
	 * Resolves the name from the file from its URL.
	 *
	 * @param string $url URL from the file to resolve.
	 * @return string
	 */
	public function resolve( string $url ): string {

		$path = rocket_url_to_path( strtok( $url, '?' ) );

		if ( ! $path ) {
			return '';
		}

		return $path;
	}
}
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨