Plugin Directory

Changeset 674367


Ignore:
Timestamp:
02/28/2013 12:37:02 AM (13 years ago)
Author:
Steveorevo
Message:

support for windows based servers and clients

Location:
desktopserver/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • desktopserver/trunk/desktopserver.php

    r673421 r674367  
    22/**
    33 * @package DesktopServer for WordPress
    4  * @version 1.0.0
     4 * @version 1.1.1
    55 */
    66/*
     
    99Description: DesktopServer for WordPress eases localhost to live server deployment by publishing hosting provider server details via a protected XML-RPC feed to an authorized administrator only. It also provides assisted deployments to hosting providers that support file system direct. For more information, please visit http://serverpress.com/.
    1010Author: Stephen Carroll
    11 Version: 1.0.0
     11Version: 1.1.1
    1212Author URI: http://steveorevo.com/
    1313*/
     
    100100        }
    101101       
     102        // Create our temp deployment folder if missing
     103        if ( false == $wp_filesystem->is_dir( $this->ds_deploy ) ){
     104            if ( false == $wp_filesystem->mkdir( $this->ds_deploy ) ){
     105                return 'Error - Cannot create ds-deploy folder. ';
     106            }
     107        }
     108       
    102109        // Process data chunks using WP_Filesystem where ever possible
    103110        while ( count($args) != 0 ){
     
    123130            // Create path if it doesn't exist (WP_Filesystem doesn't do recursive paths)
    124131            $path = $this->delRightMost($file, '/');
     132            $path = str_replace('/', DIRECTORY_SEPARATOR, $path);
    125133            if ( is_dir( $path ) === false ){
    126134                if ( mkdir( $path, FS_CHMOD_DIR, true ) === false ){
     
    163171        $wp_filesystem->rmdir( $this->ds_deploy, true );
    164172               
    165         // Create our temp deployment folder
    166         if ( false == $wp_filesystem->mkdir( $this->ds_deploy ) ){
    167             return 'Error - Cannot create ds-deploy folder. ';
    168         }
    169173        return 'ok';
    170174    }
  • desktopserver/trunk/readme.txt

    r673421 r674367  
    44Requires at least: 3.0
    55Tested up to: 3.5.1
    6 Stable tag: 1.1.0
     6Stable tag: 1.1.1
    77License: GPLv2 or later
    88
     
    1919== Changelog ==
    2020
     21= 1.1.1 =
     22* Add fix for deployment from/to Windows based systems
     23
    2124= 1.1.0 =
    2225* Allow only users with core update capability only
Note: See TracChangeset for help on using the changeset viewer.