-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
updateSettingsFile
Description
This function updates the Settings.php file with the changes in config_vars.
Syntax
void updateSettingsFile (array $config_vars)
Parameter $config_vars
Expected type: Array
Description: An associative array of 'variable' => 'value' pairs (variable = variable name, value = value)
Notes
- Expects config_vars to be an associative array, with the keys as the variable names in Settings.php, and the values the variable values.
- Does not escape or quote values.
- Preserves case, formatting, and additional options in file.
- Writes nothing if the resulting file would be less than 10 lines in length (sanity check for read lock.)
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.039 seconds with 13 queries.
- Forum Search