Natinality, Country, Agenda, search Request. CMS
Magazine Content
This commit is contained in:
parent
30d5ca3b44
commit
aebfb0586a
72 changed files with 4636 additions and 590 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue