Changeset 674367
- Timestamp:
- 02/28/2013 12:37:02 AM (13 years ago)
- Location:
- desktopserver/trunk
- Files:
-
- 2 edited
-
desktopserver.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
desktopserver/trunk/desktopserver.php
r673421 r674367 2 2 /** 3 3 * @package DesktopServer for WordPress 4 * @version 1. 0.04 * @version 1.1.1 5 5 */ 6 6 /* … … 9 9 Description: 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/. 10 10 Author: Stephen Carroll 11 Version: 1. 0.011 Version: 1.1.1 12 12 Author URI: http://steveorevo.com/ 13 13 */ … … 100 100 } 101 101 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 102 109 // Process data chunks using WP_Filesystem where ever possible 103 110 while ( count($args) != 0 ){ … … 123 130 // Create path if it doesn't exist (WP_Filesystem doesn't do recursive paths) 124 131 $path = $this->delRightMost($file, '/'); 132 $path = str_replace('/', DIRECTORY_SEPARATOR, $path); 125 133 if ( is_dir( $path ) === false ){ 126 134 if ( mkdir( $path, FS_CHMOD_DIR, true ) === false ){ … … 163 171 $wp_filesystem->rmdir( $this->ds_deploy, true ); 164 172 165 // Create our temp deployment folder166 if ( false == $wp_filesystem->mkdir( $this->ds_deploy ) ){167 return 'Error - Cannot create ds-deploy folder. ';168 }169 173 return 'ok'; 170 174 } -
desktopserver/trunk/readme.txt
r673421 r674367 4 4 Requires at least: 3.0 5 5 Tested up to: 3.5.1 6 Stable tag: 1.1. 06 Stable tag: 1.1.1 7 7 License: GPLv2 or later 8 8 … … 19 19 == Changelog == 20 20 21 = 1.1.1 = 22 * Add fix for deployment from/to Windows based systems 23 21 24 = 1.1.0 = 22 25 * Allow only users with core update capability only
Note: See TracChangeset
for help on using the changeset viewer.