|
@@ -21,7 +21,7 @@ class goods_gift
|
|
|
{
|
|
|
static private $stInstance = null;
|
|
|
private $contents;
|
|
|
- const cache_nam = 'all_goods_gift';
|
|
|
+ const cache_name = 'all_goods_gift';
|
|
|
|
|
|
private function __construct()
|
|
|
{
|
|
@@ -49,7 +49,7 @@ class goods_gift
|
|
|
private function read_cache()
|
|
|
{
|
|
|
$prefix = 'mb_activity';
|
|
|
- $items = rcache(self::cache_nam, $prefix);
|
|
|
+ $items = rcache(self::cache_name, $prefix);
|
|
|
|
|
|
if (!empty($items)) {
|
|
|
return unserialize($items['data']);
|