Skip to content

Instantly share code, notes, and snippets.

@jhrcz
Created May 21, 2014 11:51
Show Gist options
  • Select an option

  • Save jhrcz/306542c1b3cd71fd7b3c to your computer and use it in GitHub Desktop.

Select an option

Save jhrcz/306542c1b3cd71fd7b3c to your computer and use it in GitHub Desktop.
wordpress data conf relocated
zmeny v confu
diff wp-config.php wp-config.php.orig
73c72
< define('WPLANG', 'cs_CZ');
---
> define('WPLANG', '');
90,99d88
< # ETN: data moved to data dir
< define( 'WP_CONTENT_DIR', ABSPATH . '../data/wp-content/' );
<
< # http://wpengineer.com/1227/wordpress-proxysupport/
< define('WP_PROXY_HOST', '127.0.0.1');
< define('WP_PROXY_PORT', '3128');
< define('WP_PROXY_USERNAME', '');
< define('WP_PROXY_PASSWORD', '');
< #define('WP_PROXY_BYPASS_HOSTS', '');
<
102,104d90
<
< #define('WP_PLUGIN_DIR', '../data/wp-content/plugins/');
< #define('WPMU_PLUGIN_DIR', '../data/wp-content/plugins/');
struktura...
configs/fcgi/php.ini
configs/wp-config.php
data/wp-content/
/languages
/plugins
/themes
/upgrade
/uploads
/wppa-depot
symlinky
htdocs/wp-content ../data/wp-content
htdocs/wp-config.php ../configs/wp-config.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment