mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-31 23:38:20 -04:00
Fixes some packaging issues.
This commit is contained in:
parent
b09d4f638c
commit
7d2b1c1c30
3 changed files with 7 additions and 7 deletions
|
@ -109,7 +109,7 @@ class Api {
|
|||
normalized_require_once("/server/php/inc/Archive.php");
|
||||
$archive = new Archive($this->app);
|
||||
|
||||
$hrefs = explode(":", trim($hrefs));
|
||||
$hrefs = explode("|:|", trim($hrefs));
|
||||
$target = $archive->create($format, $hrefs);
|
||||
|
||||
if (!is_string($target)) {
|
||||
|
@ -160,7 +160,7 @@ class Api {
|
|||
normalized_require_once("/server/php/inc/Archive.php");
|
||||
$archive = new Archive($this->app);
|
||||
|
||||
$hrefs = explode(":", trim($hrefs));
|
||||
$hrefs = explode("|:|", trim($hrefs));
|
||||
|
||||
header("Content-Type: application/octet-stream");
|
||||
header("Content-Disposition: attachment; filename=\"$as\"");
|
||||
|
@ -206,7 +206,7 @@ class Api {
|
|||
|
||||
list($hrefs) = use_request_params(array("hrefs"));
|
||||
|
||||
$hrefs = explode(":", trim($hrefs));
|
||||
$hrefs = explode("|:|", trim($hrefs));
|
||||
$errors = array();
|
||||
|
||||
foreach ($hrefs as $href) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue