From 495d172e542b78ed9160894cae6ba9bfb798bb43 Mon Sep 17 00:00:00 2001 From: Brad Parbs Date: Tue, 15 Jun 2021 18:38:46 -0500 Subject: [PATCH] Update asset build path include to use dirname() rather than ../ --- inc/scripts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/scripts.php b/inc/scripts.php index 3c03ccf7a..596cbc1d5 100644 --- a/inc/scripts.php +++ b/inc/scripts.php @@ -11,7 +11,7 @@ * @author WDS */ function _s_scripts() { - $asset_file_path = __DIR__ . '/../build/index.asset.php'; + $asset_file_path = dirname( __DIR__ ) . '/build/index.asset.php'; if ( is_readable( $asset_file_path ) ) { $asset_file = include $asset_file_path;