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;