Plugin Directory

Changeset 1541079


Ignore:
Timestamp:
11/26/2016 01:51:23 PM (9 years ago)
Author:
Den Media
Message:

2.2.0.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hiweb-plugins-server/trunk/inc/class.php

    r1541018 r1541079  
    99     */
    1010    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       
    1118       
    1219        /**
     
    121128                    $path = $file;
    122129                    if( !is_dir( $path ) )
    123                         $zip->addFile( $path, str_replace(WP_PLUGIN_DIR,'',$file) );
     130                        $zip->addFile( $path, str_replace( WP_PLUGIN_DIR, '', $file ) );
    124131                }
    125132                $zip->close();
Note: See TracChangeset for help on using the changeset viewer.