Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include should be "htdocs" not "html" #257

Open
whp-jeffm opened this issue Sep 18, 2024 · 2 comments
Open

Include should be "htdocs" not "html" #257

whp-jeffm opened this issue Sep 18, 2024 · 2 comments

Comments

@whp-jeffm
Copy link

$filePath = $root . "/html/main.inc.php";

@whp-jeffm
Copy link
Author

whp-jeffm commented Sep 18, 2024

$filePath = $root . "/htdocs/main.inc.php";

@JohnMidity
Copy link

$filePath = $root . "/htdocs/main.inc.php";

That solution did not work for me. I use ISPConfig and websites are stored in a directory 'web'.
For me the patch is:
$filePath = $root . "/web/main.inc.php";
I suggest to ditch the $root and use a relative path from the current file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants