|
Server : LiteSpeed System : Linux premium152.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : idesfsze ( 1473) PHP Version : 7.4.33 Disable Function : NONE Directory : /home/idesfsze/public_html/wp-content/plugins/op-builder/routes/ |
<?php
$requestPath = $_SERVER['REQUEST_URI'];
$pluginName = pathinfo(OP3__DIR__, PATHINFO_BASENAME);
// Public assets
if (preg_match("/\/" . $pluginName . "\/public\/assets\/(css|js)\/page-(\d+)(\-\d+)?\.(css|js)/", $requestPath, $matches)) {
if ($matches[4] == "js") {
\OPBuilder\Http\AssetsController::scripts($matches[2], $matches[3]);
}
}