@@ -214,6 +214,21 @@ if (!function_exists('public_mix')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Wrap a call to url() and append the public folder before it
|
||||||
|
*/
|
||||||
|
if (!function_exists('public_url')) {
|
||||||
|
function public_url($path, array $parameters = [])
|
||||||
|
{
|
||||||
|
$publicBaseUrl = app()->publicUrlPath();
|
||||||
|
$path = $publicBaseUrl.$path;
|
||||||
|
|
||||||
|
$path = str_replace('//', '/', $path);
|
||||||
|
|
||||||
|
return url($path, $parameters);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Show a date/time in the proper timezone for a user
|
* Show a date/time in the proper timezone for a user
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
<p style="text-align: right; font-size: 22px;">
|
<p style="text-align: right; font-size: 22px;">
|
||||||
<a href="{{ url('/install') }}" class="btn btn-success">Head on to the installer ></a>
|
<a href="{{ public_url('/install') }}" class="btn btn-success">Head on to the installer ></a>
|
||||||
</p>
|
</p>
|
||||||
@yield('content')
|
@yield('content')
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user