* the config file handling code has been moved to a separate file which is shared between normal and AJAX code * the config file existence is checked and a well formatted error message is sent if it doesn't exist