Fixing content type ordering when content_type is not defined.
[akelos.git] / config / environments / production.php
blob3129627aa2f53537ba83adefa242dc4d1d8ad305
1 <?php
3 // Define constants that are used only on a production environment
4 // See file boot.php for more info
6 /**
7 * Performance tricks for production environments.
8 *
9 * Disable callback getters/setters. If you allways use
10 * AkActiveRecord::get('attribute_name') and AkActiveRecord::set('attribute_name', $value)
11 * instead of AkActiveRecord::getAttributeName and AkActiveRecord::setAttributeName
12 * you might want to disable thath functionality by uncommenting the next two line.
14 // ak_define('ACTIVE_RECORD_ENABLE_CALLBACK_SETTERS', false);
15 // ak_define('ACTIVE_RECORD_ENABLE_CALLBACK_GETTERS', false);
17 /**
18 * These settings can also help on heavy load sites, but please TEST that these new defaults
19 * don't break you working application.
21 * DONT CHANGE ANYTHING IF YOU DON'T KNOW WHAT IT MEANS.
23 // ak_define('ACTIVE_RECORD_VALIDATE_TABLE_NAMES', false);
24 // ak_define('ACTIVE_RECORD_SKIP_SETTING_ACTIVE_RECORD_DEFAULTS', true);
25 // ak_define('ACTIVE_RECORD_ENABLE_PERSISTENCE', true);
26 // ak_define('ACTIVE_RECORD_CACHE_DATABASE_SCHEMA', true);
27 // ak_define('ACTIVE_RECORD_CACHE_DATABASE_SCHEMA_LIFE', 86400);