Fix misc errors. File now restores and throws an alert when completed.
Add php header
Handle slices
Only check / and /config for config.xml. Otherwise you might step on a nanobsd installation.
Adding external configuration loader which will look on all found disks except bootup disk for config.xml. If tconfig.xml is found on an external disk then it tests the roobobj to ensure its a valid file then calls test_config() to ensure it is a valid xml file. Once the file is validated a backup_config() is called to backup the current configuration and finally the file is installed using restore_backup()
Ooops add missing or.
Increase suhosin maximum memory to avoid this error: ALERT - script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker 'REMOTE_ADDR not set', file '/etc/inc/config.inc', line 59)
Check for pfsense root object name in config.xml as a fallback if the configured name is not found.
Ticket #1037. Move environment manipulation to the authentication script since escaping slashes is not so easz on dynamic built paths.
No need to go through the array when the key can be tested directly.
View revisions
Also available in: Atom