WordPress.org

Ready to get started?Download WordPress

Forums

WP-ImageFlow
Modification to make this work on windows servers / IIS 7 (1 post)

  1. adrian_wd
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic