This commit is contained in:
2019-05-22 00:59:01 -07:00
parent 756ea17f99
commit c062910a22
10 changed files with 509 additions and 308 deletions

View File

@@ -59,7 +59,7 @@ class ProgressBar {
global $wopt_currstep;
$wopt_currstep++;
self::$done = 0;
return "\n";
return "\nREFRESH\n";
}
}
@@ -67,17 +67,6 @@ class ProgressBar {
// Functions
//////////////////////////////////////////
/*
function getParents($zpath, $pathname) {
$path = dirname($pathname);
$parts = explode("/",trim(substr($path,strlen(basename($zpath))),"/"));
foreach ($parts as $index => $part) {
$parents[] = array($part, md5($zpath."/".implode("/",array_slice($parts, 0, $index+1))));
}
return $parents;
}
*/
function msg($string) {
global $messages_log_file;
$logstring = "[".date('Y-m-d h:i:s')."] ".$string."\n";
@@ -185,7 +174,7 @@ class plistParser extends XMLReader {
case 'false': return false; break;
case 'array': return $this->parse_array(); break;
case 'dict': return $this->parse_dict(); break;
// why the fuck cant this plist parser handle the plist generated from an hdiutil list with no dimgs attached?
// why the can't 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);
}
}