wp-config.php

All WordPress options and constants.

Usefull lines in wp-config.php:


<?php

define ('WPLANG', 'fr');

//define('WP_LANG_DIR', $_SERVER['DOCUMENT_ROOT'].'wordpress/languages');



define('WP_DEBUG', false);

//define('WP_DEBUG_LOG', true);

//define('WP_DEBUG_DISPLAY', false);

//@ini_set('display_errors',0);

//define('SCRIPT_DEBUG', true);



//define('CONCATENATE_SCRIPTS', false);





//define('SAVEQUERIES', true);

/*if (current_user_can('administrator')){

    global $wpdb;

    print_r($wpdb->queries);

}*/





define('WP_ALLOW_REPAIR', true);

//define('CUSTOM_USER_TABLE', $table_prefix.'my_users');

//define('CUSTOM_USER_META_TABLE', $table_prefix.'my_usermeta');



//define('ALTERNATE_WP_CRON', true);





/* Autosave interval of posts and pages (in seconds) */

//define('AUTOSAVE_INTERVAL', 160 );



/* Disable revisions for posts and pages */

//define('WP_POST_REVISIONS', false );



/* Number of revisions for posts and pages */

//define('WP_POST_REVISIONS', 3);



/* Increase the maximum amount of memory for executing scripts */

//define('WP_MEMORY_LIMIT', '64M');



/* Period in days of saving materials in a trash bin*/

define('EMPTY_TRASH_DAYS', 30 );



?>

Leave a Comment