Storing the directory path in the bwp-minify/min/config.php file?
-
Hi!
Someone brought your plugin to my attention because when a WordPress site with your plugin is moved to a new web host with a different directory path, it doesn’t render js or css files until you go into BWP-minify and save the settings, which updates the $min_documentRoot variable in the bwp-minify/min/config.php file.
I realize you use the bwp-minify/min/ directory outside of WordPress so you don’t have access to ABSPATH, but this causes problems for anyone moving their site to a new host (or, more relevant for me, when they make a staging or development copy of their site). Could you find a way to work around this, such as check if the current directory contains the $min_documentRoot variable, and if not update the config.php file?
Thanks!
- The topic ‘Storing the directory path in the bwp-minify/min/config.php file?’ is closed to new replies.