Changeset 1541079
- Timestamp:
- 11/26/2016 01:51:23 PM (9 years ago)
- File:
-
- 1 edited
-
hiweb-plugins-server/trunk/inc/class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hiweb-plugins-server/trunk/inc/class.php
r1541018 r1541079 9 9 */ 10 10 class hw_plugins_server{ 11 12 13 public function __construct(){ 14 if( !file_exists( HW_PLUGINS_SERVER_ROOT ) ) 15 mkdir( HW_PLUGINS_SERVER_ROOT, 0755 ); 16 } 17 11 18 12 19 /** … … 121 128 $path = $file; 122 129 if( !is_dir( $path ) ) 123 $zip->addFile( $path, str_replace( WP_PLUGIN_DIR,'',$file) );130 $zip->addFile( $path, str_replace( WP_PLUGIN_DIR, '', $file ) ); 124 131 } 125 132 $zip->close();
Note: See TracChangeset
for help on using the changeset viewer.