forked from chaosarium/lwt
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Replace globals by constants #163
Labels
enhancement
Develop an existing feature
Milestone
Comments
HugoFara
added a commit
that referenced
this issue
Dec 26, 2023
HugoFara
added a commit
that referenced
this issue
Dec 26, 2023
HugoFara
added a commit
that referenced
this issue
Dec 26, 2023
…anguage rename (#113). JS Doc is added with JS DOC and PHP Doc with phpDocumentor. New global LWT_LANGUAGES_ARRAY. When renaming a language, text to speech was broken, it is fixed.
The same goes for functions returning always the same value: |
For anything as [settings]
server=localhost
userid=root This is INI format, but YAML could be great as well, if anyone has another suggestion let me know! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LWT likes to use globals, by they are difficult to identify and edit. They should be replaced by something better adapted and more robust.
connect.inc.php
andinc/settings.php
.$_SESSION
: the ominous$tbpref
and his friend$fixed_tbpref
.$DBCONNECTION
as well.$langDefs
needs more work.The text was updated successfully, but these errors were encountered: