Britsenigma Posted April 3, 2008 Share Posted April 3, 2008 I realise how flexible the WHMCS system is, but it's not quite enough. "The install folder needs to be deleted for security reasons before using WHMCS" I get this error when I use an include_once php function on any of the files in the base directory. This makes it almost impossible to integrate properly into other systems. I don't like wrappers, it's the professional way of doing things imo. Any workarounds for this? 0 Quote Link to comment Share on other sites More sharing options...
Britsenigma Posted April 3, 2008 Author Share Posted April 3, 2008 Apparently, if any of the WHMCS files are trying to be included from a parentdirectory it throws this error. If you call the function from a file in the same directory, it's fine. 0 Quote Link to comment Share on other sites More sharing options...
Britsenigma Posted April 3, 2008 Author Share Posted April 3, 2008 Well, I thought I was making progress, merged the two sites onto the same folder level. Both sites use configuration.php, so I merged the file, got errors because a variable was already defined. No problem, put them in two files, and included them with include_once, seemd to solve the problem. Then I got a database error, when I tried to include any of the root files (clientarea.php) from a folder within the cms. So I thought, I'll move the configuration data to the directory that's calling it. Seemed to work, but then the script boots me to a directory below my working directory. Seems like you've done everything in your power to disable any script including the whmcs encrypted base files. Might be good for keeping the hackers out, but as a paying customer I find it very annoying, my final attempt is to try and build the cms structure around the whmcs files, instead of pointing/including them with a component i've written. Any help is appreciated 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.