Plugin Directory

Changeset 1355194


Ignore:
Timestamp:
02/21/2016 02:02:40 PM (10 years ago)
Author:
mystat
Message:

Fixed cache dir

Location:
wp-mystat
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-mystat/tags/3.4/driver/wordpress.class.php

    r1355192 r1355194  
    13181318      require_once(dirname(__FILE__).'/../lib/country.class.php');
    13191319      $cn = new mystat_country();
    1320       $cn->setCacheDir($this->getCacheDir());
     1320      $cn->setCacheDir(mystat_wordpress::getCacheDir());
    13211321      $i=0;
    13221322      echo '<div class="country_top">';
     
    13331333      require_once(dirname(__FILE__).'/../lib/country.class.php');
    13341334      $cn = new mystat_country();
    1335       $cn->setCacheDir($this->getCacheDir());
     1335      $cn->setCacheDir(mystat_wordpress::getCacheDir());
    13361336      echo '<div class="country_flag">';
    13371337      foreach($country as $k=>$v){
     
    13451345      require_once(dirname(__FILE__).'/../lib/browscap.class.php');
    13461346      $browscap = new mystat_browscap();
    1347       $browscap->setCacheDir($this->getCacheDir());
     1347      $browscap->setCacheDir(mystat_wordpress::getCacheDir());
    13481348      $br = $browscap->getBrowser($_SERVER['HTTP_USER_AGENT']);
    13491349      echo '<div class="user_info">';
  • wp-mystat/trunk/driver/wordpress.class.php

    r1355192 r1355194  
    13181318      require_once(dirname(__FILE__).'/../lib/country.class.php');
    13191319      $cn = new mystat_country();
    1320       $cn->setCacheDir($this->getCacheDir());
     1320      $cn->setCacheDir(mystat_wordpress::getCacheDir());
    13211321      $i=0;
    13221322      echo '<div class="country_top">';
     
    13331333      require_once(dirname(__FILE__).'/../lib/country.class.php');
    13341334      $cn = new mystat_country();
    1335       $cn->setCacheDir($this->getCacheDir());
     1335      $cn->setCacheDir(mystat_wordpress::getCacheDir());
    13361336      echo '<div class="country_flag">';
    13371337      foreach($country as $k=>$v){
     
    13451345      require_once(dirname(__FILE__).'/../lib/browscap.class.php');
    13461346      $browscap = new mystat_browscap();
    1347       $browscap->setCacheDir($this->getCacheDir());
     1347      $browscap->setCacheDir(mystat_wordpress::getCacheDir());
    13481348      $br = $browscap->getBrowser($_SERVER['HTTP_USER_AGENT']);
    13491349      echo '<div class="user_info">';
Note: See TracChangeset for help on using the changeset viewer.