</instructions>
<instructions type="update" fromversion="2.0.0 Beta 4">
+ <instruction type="file" run="standalone">files_pre_update.tar</instruction>
+
<instruction type="file">files_update.tar</instruction>
<instruction type="acpTemplate">acptemplates_update.tar</instruction>
<instruction type="language">language/*.xml</instruction>
$this->createDir($dir);
}
catch (SystemException $e) {
- $errors[] = array('file' => $dir, 'code' => $e->getCode(), 'message' => $e->getMessage());
+ $errors[] = $e->getMessage();
}
}
$this->createFile($file, $index, $tar);
}
catch (SystemException $e) {
- $errors[] = array('file' => $file, 'code' => $e->getCode(), 'message' => $e->getMessage());
+ $errors[] = $e->getMessage();
}
}
if (!empty($errors)) {
- throw new SystemException('error(s) during the installation of the files.', $errors);
+ throw new SystemException('error(s) during the installation of the files.', 0, implode("<br />", $errors));
}
$this->logFiles($files);
return $path;
}
+ /**
+ * @todo Work-around for update, remove this after 2.0.0 Beta 5
+ * @deprecated
+ */
+ public static function unifyDirSeperator($path) {
+ return self::unifyDirSeparator($path);
+ }
+
/**
* Scans a folder (and subfolder) for a specific file.
* Returns the filename if found, otherwise false.