forked from ILIAS-eLearning/ILIAS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Customizing/FileDelivery: Add patch marker and documentation
- Loading branch information
1 parent
d7f851b
commit 90f5113
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,6 @@ | |
* | ||
* @author Fabian Schmid <[email protected]> | ||
*/ | ||
// databay-patch: begin file_delivery_override | ||
$override_delivery_type = ilFileDelivery::DELIVERY_METHOD_XACCEL; | ||
// databay-patch: end file_delivery_override |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# File Delivery Override | ||
|
||
Dieser Patch definiert `X-Accel` als Standard-Auslieferungsmethoden für Dateien. | ||
|
||
## Patch-Markierungen | ||
|
||
Patches wurden mit `databay-patch: begin file_delivery_override` und `databay-patch: end file_delivery_override` markiert. | ||
|
||
## Änderungen | ||
|
||
Angepasst wurden im Rahmen der Funktionalität folgende Dateien: | ||
|
||
* Services/FileDelivery/classes/override.php | ||
|
||
## Spezifikation | ||
|
||
Hostings von ILIAS 9, sollen performant Dateien über HTTP-Server-Mechanismen ausliefern laufen. Gerade im Kontext | ||
des "WebAccessChecker" ist dies die richtige Maßnahme, um ein langsames Auslieferen oder Streamen von Dateien | ||
über PHP zu verhindern. | ||
|
||
Siehe auch: | ||
|
||
* https://gitlab.databay.de/ilias-hosting/ilias/-/issues/6 | ||
* [docs/configuration/secure.md](./../../configuration/secure.md#use-webaccesschecker) |