You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the database connection details are hardcoded in consts in the PHP code. This makes it hard to test the application in its own environment.
In addition, it is a bad practice to keep secrets in checked-in code.
Recommended to replace it with environment variables. We can use the DotENV library.
The text was updated successfully, but these errors were encountered:
Currently the database connection details are hardcoded in consts in the PHP code. This makes it hard to test the application in its own environment.
In addition, it is a bad practice to keep secrets in checked-in code.
Recommended to replace it with environment variables. We can use the DotENV library.
The text was updated successfully, but these errors were encountered: