WordPress.org

Support

Support » Plugins and Hacks » WP-ImageFlow » [Plugin: WP-ImageFlow] Modification to make this work on windows servers / IIS 7

[Plugin: WP-ImageFlow] Modification to make this work on windows servers / IIS 7

  • wp-imageflow2.php
    lines 287-290

    after line:

    $galleries_path = $_SERVER[‘DOCUMENT_ROOT’] . ‘/’ . $this->get_path($options[‘gallery_url’]);

    insert :

    // Modification to make it work in windows
    $galleries_path=str_replace(‘/’,’\\’,$galleries_path);
    $galleries_path=str_replace(‘\\\\’,’\\’,$galleries_path);
    // end windows modification

    lines 672-675

    after line:

    $galleries_path = $_SERVER[‘DOCUMENT_ROOT’] . ‘/’ . $this->get_path($options[‘gallery_url’]);

    insert:

    // Modification to make it work in windows
    $galleries_path=str_replace(‘/’,’\\’,$galleries_path);
    $galleries_path=str_replace(‘\\\\’,’\\’,$galleries_path);
    // end windows modification

    That’s it!

    http://wordpress.org/extend/plugins/wp-imageflow/

  • The topic ‘[Plugin: WP-ImageFlow] Modification to make this work on windows servers / IIS 7’ is closed to new replies.
Skip to toolbar