Browse Source

CustomCategory: when loading file, add Content-Disposition

master
parent
commit
b496fab567
  1. 1
      customCategory.php

1
customCategory.php

@ -22,6 +22,7 @@ if (isset($_REQUEST['id'])) {
}
Header("Content-Type: application/yaml; charset=utf-8");
Header("Content-Disposition: inline; filename=\"{$_REQUEST['id']}.yaml\"");
print $category;
}

Loading…
Cancel
Save