New server url
This commit is contained in:
@@ -46,6 +46,8 @@ abstract class BaseController extends Controller
|
||||
public $current_env=0;
|
||||
public $primary_image_sever='';
|
||||
public $server_tag='';
|
||||
public $website_url='';
|
||||
|
||||
public $wrenchboard=null;
|
||||
public $micro_service_net1;
|
||||
public $user_server_name ='';
|
||||
@@ -71,6 +73,8 @@ abstract class BaseController extends Controller
|
||||
$this->micro_service_net1 = $this->getSiteConfigurations("system.micro_service_net1"); //"10.10.1
|
||||
$this->user_server_name = $this->getSiteConfigurations("system.server_name"); // 'https://dev-users.wrenchboard.com';
|
||||
$this->show_extra_wallet = $this->getSiteConfigurations("system.show_extra_wallet");
|
||||
$this->website_url = $this->getSiteConfigurations("system.website_url");
|
||||
//
|
||||
|
||||
$this->getSettings(''); // help create all settings data
|
||||
// $appConfig = config('Cache');
|
||||
|
||||
@@ -40,7 +40,7 @@ class WrenchUser extends BaseController
|
||||
|
||||
if ( $in["uid_part"] !='' && $in["member_id"] > 0 ){
|
||||
log_message('critical', "***** ***** WrenchUser::UsersRefLink IN Call Backend ");
|
||||
$in["refer_link"] = $this->user_server_name."/myrefer/".$in["refer_link"];
|
||||
$in["refer_link"] = $this->website_url."/myrefer/".$in["refer_link"];
|
||||
$ret = $this->wrenchboard->wrenchboard_api($in, $out);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user