Function get_current_settings
Retrieves a copy of the current values of all settings defined in Settings.php.
Importantly, it does this without affecting our actual global variables at all, and it performs safety checks before acting. The result is an array of the values as recorded in the settings file.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Admin.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Admin.php
integer |
$mtime = null |
Timestamp of last known good configuration. Defaults to time SMF started. |
string |
$settingsFile = null |
The settings file. Defaults to SMF's standard Settings.php. |
array
|
An array of name/value pairs for all the settings in the file. |