WPPB_PLUGIN_DIR incorrect
-
I run 2 installs on my local development machine which share their wp-content/plugins folder using symbolic links. WPPB_PLUGIN_DIR unfortunately becomes “C:\wamp\www\wordpress/wp-content/plugins/C:/wamp/www/wp/wp-content/plugins/profile-builder”
The solution is to just use
plugin_dir_path
in your index.php on line 77:
define('WPPB_PLUGIN_DIR', plugin_dir_path(__FILE__));
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WPPB_PLUGIN_DIR incorrect’ is closed to new replies.