• 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.