Skip to content

Instantly share code, notes, and snippets.

@bublick
Created October 16, 2020 09:40
Show Gist options
  • Save bublick/daae4c9c30ab86ebebe926afe02479e1 to your computer and use it in GitHub Desktop.
Save bublick/daae4c9c30ab86ebebe926afe02479e1 to your computer and use it in GitHub Desktop.
/*
* define of not obvious variables
*/
// hide warnings and debug information
ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);
// method of connection to file system (direct | ssh | ftpext | ftpsockets)
define('FS_METHOD','direct');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment