WordPress.org

Make WordPress Core

Ticket #4011: wp-config-sample.php.diff

File wp-config-sample.php.diff, 689 bytes (added by tmountjr, 11 years ago)

sample wp-config file with added support for proxy variables

  • wp-config-sample.php

     
    77define('DB_CHARSET', 'utf8');
    88define('DB_COLLATE', '');
    99
     10//proxy settings
     11define('WP_PROXYHOST', 'your.proxy.host');
     12define('WP_PROXYPORT', 'yourproxyport');
     13define('WP_PROXYUSER', 'yourproxyusername');
     14define('WP_PROXYPASS', 'yourproxypassword');
     15define('WP_USEPROXY', false);   //set to true if you use a proxy
     16
    1017// You can have multiple installations in one database if you give each a unique prefix
    1118$table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!
    1219