Skip to content

Commit 12684da

Browse files
committed
updated menu base url
1 parent 06eba75 commit 12684da

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Helpers/helpers.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ function menu_prefix()
1414
}
1515
}
1616

17+
if(! function_exists('menu_base_url')) {
18+
function menu_base_url(){
19+
return config('menu.base_url') ?? 'http://localhost';
20+
}
21+
}
22+
1723
if (!function_exists('menu_settings')) {
1824
function menu_settings($menu_id)
1925
{

0 commit comments

Comments
 (0)