Plugin Directory

Changeset 1415808


Ignore:
Timestamp:
05/12/2016 05:46:20 PM (10 years ago)
Author:
mystat
Message:

Fix error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-mystat/tags/3.5/lib/mystat.class.php

    r1377829 r1415808  
    821821    if(!$lh and (!$this->getOption('mystatuuid') or $this->getString('test')=='')){return base64_decode('RkFJTA==');}elseif($lh){return base64_decode('T0s=');}
    822822    if($this->getString('uuid')!='' and $this->getOption('mystatuuid')!=md5($this->getString('uuid'))){return base64_decode('RkFJTA==');}
    823     if(!$first){$el = $this->getString('cache');if(!empty($el)){$el = preg_split('/\|/i',$el);if($el[1]==date('Ymd') and $_SERVER['HTTP_HOST']==$el[2]){return $el[0];}}}
     823    if(!$first){$el = $this->getOption('mystatcache');if(!empty($el)){$el = preg_split('/\|/i',$el);if($el[1]==date('Ymd') and $_SERVER['HTTP_HOST']==$el[2]){return $el[0];}}}
    824824    $ret = $this->isAs(($first?$this->getString('uuid'):($this->getString('uuid')!=''?$this->getString('uuid'):$this->getOption('mystatuuid'))));
    825     $this->setString('cache',$ret.'|'.date('Ymd').'|'.$_SERVER['HTTP_HOST']);
     825    $this->setOption('mystatcache',$ret.'|'.date('Ymd').'|'.$_SERVER['HTTP_HOST']);
    826826    return (string)$ret;
    827827  }
Note: See TracChangeset for help on using the changeset viewer.