Jump to content

How to get WHMCS System URL inside module?


sufi

Recommended Posts

Hello,

            You can always the system URL from the following table. Please use the following query :

$url  = Capsule::table('tblconfiguration')->where('setting','='SystemURL')->first();

$system_url = $url->value;

 

Hope this helps.

Cheers

 

Link to comment
Share on other sites

9 hours ago, Vivek Nair said:

Hello,

            You can always the system URL from the following table. Please use the following query :

$url  = Capsule::table('tblconfiguration')->where('setting','='SystemURL')->first();

$system_url = $url->value;

 

Hope this helps.

Cheers

 

Thanks for this. I have used global $CONFIG to get the system url.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated