User:Ankit Agarwal: Difference between revisions
Line 18: | Line 18: | ||
$CFG->enableavailability = true; | $CFG->enableavailability = true; | ||
$CFG->allowthemechangeonurl = true; | $CFG->allowthemechangeonurl = true; | ||
$CFG->langstringcache = false; | |||
$CFG->forced_plugin_settings = array('scorm' => array('allowtypeexternal' => true, 'allowtypelocalsync' => true, 'allowtypeimsrepository' => true,'allowtypeexternalaicc' => true)); | $CFG->forced_plugin_settings = array('scorm' => array('allowtypeexternal' => true, 'allowtypelocalsync' => true, 'allowtypeimsrepository' => true,'allowtypeexternalaicc' => true)); | ||
</code> | </code> |
Revision as of 03:03, 23 April 2014
My config setup
2.3+ and Master
define('MDL_PERF', true);
define('MDL_PERFDB', true);
define('MDL_PERFTOLOG', true);
define('MDL_PERFTOFOOT', true);
error_reporting(-1);
@ini_set('display_errors', '1'); // NOT FOR PRODUCTION SERVERS!
$CFG->debug = 32767; // DEBUG_DEVELOPER // NOT FOR PRODUCTION SERVERS!
$CFG->debugdisplay = true; // NOT FOR PRODUCTION SERVERS!
$CFG->passwordpolicy = false;
$CFG->phpunit_prefix = 'phpu_';
$CFG->phpunit_dataroot = '/var/moodledata/int/master/phpunit';
$CFG->behat_prefix = 'pbehat_';
$CFG->behat_dataroot = '/var/moodledata/stable/master/behat';
$CFG->enablecompletion = true;
$CFG->enableavailability = true;
$CFG->allowthemechangeonurl = true;
$CFG->langstringcache = false;
$CFG->forced_plugin_settings = array('scorm' => array('allowtypeexternal' => true, 'allowtypelocalsync' => true, 'allowtypeimsrepository' => true,'allowtypeexternalaicc' => true));
2.2 and 2.1
define('MDL_PERF', true);
define('MDL_PERFDB', true);
define('MDL_PERFTOLOG', true);
define('MDL_PERFTOFOOT', true);
@ini_set('display_errors', '1'); // NOT FOR PRODUCTION SERVERS!
$CFG->debug = 38911; // DEBUG_DEVELOPER // NOT FOR PRODUCTION SERVERS!
$CFG->debugdisplay = true; // NOT FOR PRODUCTION SERVERS!
$CFG->passwordpolicy = false;