23.11 Upload to live
This commit is contained in:
parent
8cae2f92a4
commit
8ebdacec98
80 changed files with 7320 additions and 3937 deletions
|
|
@ -98,8 +98,11 @@ class Util
|
|||
public static function getUserShopBackUrl($reference = ""){
|
||||
|
||||
if(\Session::has('user_shop')){
|
||||
if(\Session::has('user_shop_domain')){
|
||||
return \Session::get('user_shop_domain');
|
||||
}
|
||||
if($user_shop = \Session::get('user_shop')){
|
||||
return 'http://'.$user_shop->slug.".".Config('app.domain')."/back/to/shop/".$reference;
|
||||
return config('app.protocol').$user_shop->slug.".".config('app.domain').config('app.tld_care')."/back/to/shop/".$reference;
|
||||
}
|
||||
}
|
||||
return url("/");
|
||||
|
|
@ -108,8 +111,11 @@ class Util
|
|||
public static function getUserCardBackUrl($uri){
|
||||
|
||||
if(\Session::has('user_shop')){
|
||||
if(\Session::has('user_shop_domain')){
|
||||
return \Session::get('user_shop_domain');
|
||||
}
|
||||
if($user_shop = \Session::get('user_shop')){
|
||||
return 'http://'.$user_shop->slug.".".Config('app.domain').$uri;
|
||||
return config('app.protocol').$user_shop->slug.".".config('app.domain').config('app.tld_care').$uri;
|
||||
}
|
||||
}
|
||||
return url($uri);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue