Support » Plugin: Weather Layer » Suggested change in config.php

  • alsur

    (@alsur)


    Changing:
    #define (‘IMAGES_PATH’, get_bloginfo(‘wpurl’) . ‘/cont/plug/wp-weather-layer/icones/’); // RĂ©pertoire des images

    For:
    define (‘IMAGES_PATH’, plugins_url( ‘icones/’, __FILE__ )); // RĂ©pertoire des images

    makes it work correctly if the path to plugin is not wp-content/plugins. This is the WP recommendation as this is a constant one can change per installation.
    Thanks.

  • The topic ‘Suggested change in config.php’ is closed to new replies.