Natinality, Country, Agenda, search Request. CMS

Magazine Content
This commit is contained in:
Kevin Adametz 2019-03-19 15:47:23 +01:00
parent 30d5ca3b44
commit aebfb0586a
72 changed files with 4636 additions and 590 deletions

View file

@ -3,7 +3,8 @@
if (! function_exists('make_old_url')) {
function make_old_url($path)
{
return config('app.old_url').$path;
$path = trim($path, "/");
return config('app.old_url')."/".$path;
}
}
@ -11,6 +12,7 @@ if (! function_exists('make_old_url')) {
if (! function_exists('make_v2_url')) {
function make_v2_url($path)
{
return config('app.url_v2').$path;
$path = trim($path, "/");
return config('app.url_v2')."/".$path;
}
}
}