]> git.p6c8.net - jirafeau.git/commit
Centralize decryption in `jirafeau_decrypt_file()`
authorPatrick Canterino <patrick@patrick-canterino.de>
Mon, 1 Apr 2024 13:37:37 +0000 (15:37 +0200)
committerPatrick Canterino <patrick@patrick-canterino.de>
Mon, 1 Apr 2024 13:37:37 +0000 (15:37 +0200)
commitf2e7a2cb00bebc22671aa02035242596dbce46de
treef0d9f12053f29f584717c848654620fc577c3679
parentb1c96930b34b47dd1c8f6321d62beeceb87afb00
Centralize decryption in `jirafeau_decrypt_file()`

Previously the decryption code in f.php was a copy of `jirafeau_decrypt_file()`.
Now, we let the funtion write to `php://output`.

`jirafeau_decrypt_file()` was previously broken because of me doing copy-paste...
f.php
lib/functions.php

patrick-canterino.de