Using this plugin with a symlink
-
If you’re loading this plugin via symlink, many files fail to load because some of the constants are based on __FILE__, which resolves symlinks automatically.
To fix, open comprehensive-google-map-plugin.php and find where CGMP_PLUGIN_URI is defined (line 37 for me).
Replace:
define('CGMP_PLUGIN_URI', plugin_dir_url(CGMP_PLUGIN_BOOTSTRAP));With:
define('CGMP_PLUGIN_URI', trailingslashit(trailingslashit(plugins_url()).basename(__FILE__, '.php')));
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Using this plugin with a symlink’ is closed to new replies.