About files_dir on windows

Kindly let me know in exactly what format we should put files_dir value to be accurate to work on a windows xampp localhost:

files_dir = files
files_dir = “files”
files_dir = /files
files_dir = “/files”
files_dir = /files/
files_dir = “/files/”
files_dir = D:/XAMPP-7.3.9/ojs/files
files_dir = “D:/XAMPP-7.3.9/ojs/files”

Or it’s something else?

base_url = “http://localhost/ojs”

Kindly reply asap.

Thanks.

Hi @Namita,

See e.g.: Config.inc.php ayuda!

The user there is using forward slashes and quotes:

files_dir = "C:/xampp/htdocs/ojs/files"

HOWEVER it’s important that you keep your files outside of the htdocs directory! A better choice might be:

files_dir = "C:/xampp/ojs_files"

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks a lot for the reply. :slight_smile:

This topic was automatically closed after 9 days. New replies are no longer allowed.