mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
fix imdb in new structure
This commit is contained in:
@@ -209,6 +209,9 @@ $responseBody = $response->getBody();
|
||||
}
|
||||
if( $this->page[$wt] ){ //storecache
|
||||
if ($this->storecache) {
|
||||
if (!is_dir($this->cachedir)) {
|
||||
$mkdirResult = mkdir($this->cachedir, 0777, true);
|
||||
}
|
||||
$fp = fopen ("$this->cachedir/$this->imdbID.$wt", "w");
|
||||
fputs ($fp, $this->page[$wt]);
|
||||
fclose ($fp);
|
||||
|
||||
Reference in New Issue
Block a user