diff options
author | devianl2 <devianleong@gmail.com> | 2022-09-28 17:15:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 17:15:04 +0800 |
commit | b02bc7c57d33ec9c637e7f7f48d79a3451e988a9 (patch) | |
tree | b19fb1711d9054814271f86893e8cc6357491d6a /src | |
parent | f12d58455f0df4db329d941a5a7f318a74995da3 (diff) | |
parent | da9e202b77c4094392ef7742f49aa3a13024c527 (diff) |
Merge pull request #24 from devianl2/4.x4.0.0
4.x
Diffstat (limited to 'src')
-rw-r--r-- | src/Manager/ScormDisk.php | 2 | ||||
-rw-r--r-- | src/Model/ScormModel.php | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Manager/ScormDisk.php b/src/Manager/ScormDisk.php index a280142..d4a6120 100644 --- a/src/Manager/ScormDisk.php +++ b/src/Manager/ScormDisk.php @@ -33,7 +33,7 @@ class ScormDisk $disk->createDir($destination); continue; } - $disk->putStream($destination, $unzipper->getStream($zipEntryName)); + $disk->writeStream($destination, $unzipper->getStream($zipEntryName)); } return true; } diff --git a/src/Model/ScormModel.php b/src/Model/ScormModel.php index e7c5a16..c9992f3 100644 --- a/src/Model/ScormModel.php +++ b/src/Model/ScormModel.php @@ -30,6 +30,7 @@ class ScormModel extends Model 'version', 'ratio', 'uuid', + 'identifier', 'entry_url', 'created_at', 'updated_at', |