diff options
| author | JustAMacUser <myself-cmsmxc3e@zaikos.com> | 2020-04-21 21:10:32 -0400 |
|---|---|---|
| committer | JustAMacUser <myself-cmsmxc3e@zaikos.com> | 2020-04-21 21:10:32 -0400 |
| commit | 9c3cf60592d99494903184c268581dd18cf5b353 (patch) | |
| tree | d3a6418389fd3ed223c0edc5a07e2757a1280cff /errors.php | |
| parent | 11a9d3bd9be1dcbf5177baa9846770012da3ce8b (diff) | |
More fixes when installer generates config file.
* Use single quotes in config.php when when defining database values so PHP doesn't interpret `$` as a variable (mostly for the password constant).
* Use `addcslashes` instead of `addslashes` and only escape backslash and single quotes.
* Do not convert DB_PORT to integer if leaving it blank (the default).
Diffstat (limited to 'errors.php')
0 files changed, 0 insertions, 0 deletions