ExistingConfigurationTest.js (500B)
1 /** 2 * Tests if the most important PHP prerequisites are met (e.g. json_encode). 3 */ 4 Ext.define('PartKeeprSetup.ExistingConfigurationTest', { 5 extend: 'PartKeeprSetup.AbstractTest', 6 action: 'parseExistingConfig', 7 name: "PHP", 8 message: "Retrieving existing configuration", 9 10 onAfterRunTest: function (data) { 11 if (data.config) { 12 var config = PartKeeprSetup.getApplication().getSetupConfig(); 13 14 Ext.merge(config.values, data.config); 15 } 16 } 17 });