Jump to content

Moving attachments, downloads & templates_c folders


daniel022

Recommended Posts

Hi,

 

I just installed WHMCS and I am able to log into the admin account. However, when I try to move the attachments, downloads & templates_c folders outside the public folder for increased security, all I see is a blank page; I am guessing I am not giving it the right path in the configuration.php file:

 

I placed them in the root folder (outside public_html) inside a folder named whmcs and this is what I have in the configuration.php file:

 

$templates_compiledir = "/home/whmcs/templates_c/";

$attachments_dir = "/home/whmcs/attachments/";

$downloads_dir = "/home/whmcs/downloads/";

 

Also tried "../../whmcs/folder_name_here/"

 

Thanks in advance,

 

Daniel.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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