Plugin Directory

Changeset 1169435


Ignore:
Timestamp:
05/28/2015 03:15:13 PM (11 years ago)
Author:
Free-counter
Message:

add cache-folder

Location:
free-counter
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • free-counter/tags/1.2/plugin.php

    r1169316 r1169435  
    217217           
    218218            // position in admin menu
     219            if (!is_dir(plugin_dir_path( __FILE__ ) . "temp")) {
     220                mkdir(plugin_dir_path( __FILE__ ) . "temp");
     221            }
    219222            if(self::check_site()) {
     223               
    220224                $menu_position = '26.1234567891';
    221 
    222225                add_menu_page(
    223226                'Statistic for Counter',
     
    339342
    340343            $filename = "export.csv";
    341             self::$file_hash = plugin_dir_path( __FILE__ ) . "/temp/data";
     344            self::$file_hash = plugin_dir_path( __FILE__ ) . "temp/data";
    342345            $data_hash = self::getHash();
    343346
  • free-counter/trunk/plugin.php

    r1169316 r1169435  
    217217           
    218218            // position in admin menu
     219            if (!is_dir(plugin_dir_path( __FILE__ ) . "temp")) {
     220                mkdir(plugin_dir_path( __FILE__ ) . "temp");
     221            }
    219222            if(self::check_site()) {
     223               
    220224                $menu_position = '26.1234567891';
    221 
    222225                add_menu_page(
    223226                'Statistic for Counter',
     
    339342
    340343            $filename = "export.csv";
    341             self::$file_hash = plugin_dir_path( __FILE__ ) . "/temp/data";
     344            self::$file_hash = plugin_dir_path( __FILE__ ) . "temp/data";
    342345            $data_hash = self::getHash();
    343346
Note: See TracChangeset for help on using the changeset viewer.