mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-01-03 23:42:28 +03:00
Started refactor of URL system to better extend Laravel
This commit is contained in:
@@ -112,6 +112,7 @@ function setting($key = null, $default = false)
|
||||
*/
|
||||
function baseUrl($path, $forceAppDomain = false)
|
||||
{
|
||||
return url($path);
|
||||
$isFullUrl = strpos($path, 'http') === 0;
|
||||
if ($isFullUrl && !$forceAppDomain) {
|
||||
return $path;
|
||||
|
||||
Reference in New Issue
Block a user