それも
This commit is contained in:
@@ -47,7 +47,7 @@ class Cache {
|
|||||||
protected int $dataDuration = 1800; // 30分
|
protected int $dataDuration = 1800; // 30分
|
||||||
|
|
||||||
public function __construct(string $dataDir) {
|
public function __construct(string $dataDir) {
|
||||||
$this->dataDir = $dataDir;
|
$this->dataDir = ROOT.'/data/cache/openprovider/'.$dataDir.'/';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ use Std\Lib\Curl;
|
|||||||
use Result;
|
use Result;
|
||||||
|
|
||||||
class Openprovider {
|
class Openprovider {
|
||||||
protected string $cacheDir = ROOT."/data/cache/openprovider/";
|
protected string $cacheDir = 'openprovider';
|
||||||
protected int $tokenDuration = 172800; // 48時間
|
protected int $tokenDuration = 172800; // 48時間
|
||||||
|
|
||||||
private Cache $cache;
|
private Cache $cache;
|
||||||
|
|||||||
Reference in New Issue
Block a user