enzu / budgetvm-whmcs

BudgetVM WHMCS Module
17 stars 20 forks source link

Module assumes WHMCS is set up in root area #18

Closed KeiroD closed 4 years ago

KeiroD commented 8 years ago

Hi,

@danperteet asked me to look into this module for v6. It appears that while the module does work admin-side, it doesn't work client-side, at least for WHMCS installs that're in a sub-folder and not as a root, e.g., http://manage.example.com/clientarea.php. I have a test install with a working BudgetVM module set-up but it appears that the module breaks when it's in a sub-folder.

Likely due to the fact that the module assumes you're installed in the root when that's not always necessarily the case. Please fix this assumption so that those who have domain.com/billing, for example, won't have issues with this.

Edit: As a result, this should fix most of the module issues, such as a non-working Network Graphs screen, IPMI, and all the other functions that assume you're using domain.com/clientarea.php.