open_basedir on suspended domains set to wrong path

Version 1.312


A suspended domain gets a new DocumentRoot, but the open_basedir path wasn't changed, thus if a php file was used, the php script wouldn't run. The fix simply changes the HOME token to that of the Reseller (creator of the User) such that the suspended document root is below the correct open_basedir path.

Interested to try DirectAdmin? Get a 30-day Free Trial!