This commit is contained in:
2019-04-27 00:48:25 -07:00
parent 9884d19108
commit 756ea17f99
5 changed files with 263 additions and 67 deletions

View File

@@ -1,6 +1,7 @@
<?php
// Classes
// 0.7.10.3
//////////////////////////////////////////
class ProgressBar {
@@ -184,8 +185,9 @@ class plistParser extends XMLReader {
case 'false': return false; break;
case 'array': return $this->parse_array(); break;
case 'dict': return $this->parse_dict(); break;
default: throw new Exception(sprintf("Not a valid plist. %s is not a valid type", $this->name), 4);
}
// why the fuck cant this plist parser handle the plist generated from an hdiutil list with no dimgs attached?
//default: throw new Exception(sprintf("Not a valid plist. %s is not a valid type", $this->name), 4);
}
}
private function parse_dict() {
$array = array(); $this->nextOfType(XMLReader::ELEMENT);