Skip to content

Commit b92bb09

Browse files
author
James Wigger
committed
Fixed issue with path
1 parent d98156e commit b92bb09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helpers.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
if (!function_exists('base_public_path')) {
1414
function base_public_path(string $path = ''): string
1515
{
16-
$Base = new Base(realpath(__DIR__ . '/../../../'));
16+
$Base = new Base(realpath(__DIR__ . '/../../../../'));
1717

1818
$userPath = $Base->getPublicPath() . ($path ? '/' . trim($path, '/') : $path);
1919

@@ -78,7 +78,7 @@ function base_asset(string $path, string $manifestDirectory = ''): string
7878
if (!function_exists('base_layout')) {
7979
function base_layout(string $file, array $data = [], bool $return = false)
8080
{
81-
$Base = new Base(realpath(__DIR__ . '/../../../'));
81+
$Base = new Base(realpath(__DIR__ . '/../../../../'));
8282

8383
$BaseLayout = BaseLayout::fetch();
8484
$BaseLayout->setLayoutVars($data);

0 commit comments

Comments
 (0)