Upgrade to latest php-epub-meta
This commit is contained in:
parent
99454bd562
commit
012ffb9bf0
2 changed files with 103 additions and 55 deletions
|
@ -81,13 +81,21 @@ class EPub {
|
|||
$this->zip->Close ();
|
||||
}
|
||||
|
||||
public function cleanITunesCrap () {
|
||||
if ($this->zip->FileExists("iTunesMetadata.plist")) {
|
||||
$this->zip->FileReplace ("iTunesMetadata.plist", false);
|
||||
}
|
||||
if ($this->zip->FileExists("iTunesArtwork")) {
|
||||
$this->zip->FileReplace ("iTunesArtwork", false);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes back all meta data changes
|
||||
* TODO update
|
||||
*/
|
||||
public function save(){
|
||||
$this->download ();
|
||||
$zip->close();
|
||||
$this->zip->close();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -413,7 +421,6 @@ class EPub {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
public function Cover2($path=false, $mime=false){
|
||||
$hascover = true;
|
||||
$item = $this->getCoverItem ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue