Browse Source

Hardening of wp-config

That good option for secure the wp
pull/83/head
liberodark 6 years ago
committed by GitHub
parent
commit
33598b3a9e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      conf/wp-config.php

7
conf/wp-config.php

@ -90,3 +90,10 @@ require_once(ABSPATH . 'wp-settings.php');
// Force https redirect // Force https redirect
//--PUBLIC--define('FORCE_SSL_ADMIN', true); //--PUBLIC--define('FORCE_SSL_ADMIN', true);
/* No Errors */
error_reporting(0);
@ini_set(‘display_errors’, 0);
/* No PHP Edit */
define( 'DISALLOW_FILE_EDIT', true );
Loading…
Cancel
Save