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

FIX add a control before difining "DOL_DOCUMENT_ROOT" in filefunc.php #31556

Open
wants to merge 1 commit into
base: 14.0
Choose a base branch
from

Conversation

thomas-Ngr
Copy link
Contributor

FIX add a control before difining "DOL_DOCUMENT_ROOT" in filefunc.php

It may generate errors otherwise on module activation.

'PHP Warning: Constant DOL_DOCUMENT_ROOT already defined in /var/www/dolitest/htdocs/filefunc.inc.php on line 245'

@eldy
Copy link
Member

eldy commented Oct 25, 2024

if you got this warning, it measn you run twice the filefunc.in.php and you probably have a more serious other problem.
What use case do you do to get this warning ?

@eldy eldy added the Discussion Some questions or discussions are opened and wait answers of author or other people to be processed label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Some questions or discussions are opened and wait answers of author or other people to be processed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants