mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 20:44:53 -04:00
Fixed "Call to undefined method PharData::add_file()" -> Method is called addFile (camel cased, http://am.php.net/manual/de/phar.addfile.php)
This commit is contained in:
parent
d47b996c9f
commit
875b4fbe0e
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class Archive {
|
||||||
$archive->addEmptyDir($archivedDir);
|
$archive->addEmptyDir($archivedDir);
|
||||||
}
|
}
|
||||||
foreach ($this->files as $realFile => $archivedFile) {
|
foreach ($this->files as $realFile => $archivedFile) {
|
||||||
$archive->add_file($realFile, $archivedFile); // very, very slow :/
|
$archive->addFile($realFile, $archivedFile); // very, very slow :/
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue