mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-21 16:13:00 +00:00
Bugfix action-raw: add missing implode
This commit is contained in:
parent
9bc1380a7b
commit
96eb694a1d
1 changed files with 2 additions and 2 deletions
|
@ -49,10 +49,10 @@ register_module([
|
||||||
header("content-type: text/markdown");
|
header("content-type: text/markdown");
|
||||||
header("content-disposition: inline");
|
header("content-disposition: inline");
|
||||||
header("content-length: " . filesize($env->page_filename));
|
header("content-length: " . filesize($env->page_filename));
|
||||||
header("x-tags: " . str_replace(
|
header("x-tags: " . implode(", ", str_replace(
|
||||||
["\n", ":"], "",
|
["\n", ":"], "",
|
||||||
$pageindex->{$env->page}->tags
|
$pageindex->{$env->page}->tags
|
||||||
));
|
)));
|
||||||
exit(file_get_contents($env->page_filename));
|
exit(file_get_contents($env->page_filename));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue