Skip to content

Commit

Permalink
feat(Pluginimage): handle subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz authored and trasher committed Dec 21, 2023
1 parent 5d510f7 commit 8a8f5e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions front/pluginimage.send.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@
}

$dir = GLPI_PLUGIN_DOC_DIR . "/" . $_GET["plugin"] . "/";
if (isset($_GET["folder"])) {
$dir .= $_GET["folder"] . "/";
}
$filepath = $dir . $_GET["name"];

if (
Expand Down

0 comments on commit 8a8f5e5

Please sign in to comment.