Changeset 1355194
- Timestamp:
- 02/21/2016 02:02:40 PM (10 years ago)
- Location:
- wp-mystat
- Files:
-
- 2 edited
-
tags/3.4/driver/wordpress.class.php (modified) (3 diffs)
-
trunk/driver/wordpress.class.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-mystat/tags/3.4/driver/wordpress.class.php
r1355192 r1355194 1318 1318 require_once(dirname(__FILE__).'/../lib/country.class.php'); 1319 1319 $cn = new mystat_country(); 1320 $cn->setCacheDir( $this->getCacheDir());1320 $cn->setCacheDir(mystat_wordpress::getCacheDir()); 1321 1321 $i=0; 1322 1322 echo '<div class="country_top">'; … … 1333 1333 require_once(dirname(__FILE__).'/../lib/country.class.php'); 1334 1334 $cn = new mystat_country(); 1335 $cn->setCacheDir( $this->getCacheDir());1335 $cn->setCacheDir(mystat_wordpress::getCacheDir()); 1336 1336 echo '<div class="country_flag">'; 1337 1337 foreach($country as $k=>$v){ … … 1345 1345 require_once(dirname(__FILE__).'/../lib/browscap.class.php'); 1346 1346 $browscap = new mystat_browscap(); 1347 $browscap->setCacheDir( $this->getCacheDir());1347 $browscap->setCacheDir(mystat_wordpress::getCacheDir()); 1348 1348 $br = $browscap->getBrowser($_SERVER['HTTP_USER_AGENT']); 1349 1349 echo '<div class="user_info">'; -
wp-mystat/trunk/driver/wordpress.class.php
r1355192 r1355194 1318 1318 require_once(dirname(__FILE__).'/../lib/country.class.php'); 1319 1319 $cn = new mystat_country(); 1320 $cn->setCacheDir( $this->getCacheDir());1320 $cn->setCacheDir(mystat_wordpress::getCacheDir()); 1321 1321 $i=0; 1322 1322 echo '<div class="country_top">'; … … 1333 1333 require_once(dirname(__FILE__).'/../lib/country.class.php'); 1334 1334 $cn = new mystat_country(); 1335 $cn->setCacheDir( $this->getCacheDir());1335 $cn->setCacheDir(mystat_wordpress::getCacheDir()); 1336 1336 echo '<div class="country_flag">'; 1337 1337 foreach($country as $k=>$v){ … … 1345 1345 require_once(dirname(__FILE__).'/../lib/browscap.class.php'); 1346 1346 $browscap = new mystat_browscap(); 1347 $browscap->setCacheDir( $this->getCacheDir());1347 $browscap->setCacheDir(mystat_wordpress::getCacheDir()); 1348 1348 $br = $browscap->getBrowser($_SERVER['HTTP_USER_AGENT']); 1349 1349 echo '<div class="user_info">';
Note: See TracChangeset
for help on using the changeset viewer.