Fix: Clean output buffer in upload_profile_picture.php to prevent HTML in JSON response
- Move header() call to before any includes that might output - Start output buffering at the beginning - Clean output buffer before sending JSON response
This commit is contained in:
BIN
assets/images/pp/424b31c09e1543a922deb690bfbb57c8.png
Normal file
BIN
assets/images/pp/424b31c09e1543a922deb690bfbb57c8.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 291 KiB |
Reference in New Issue
Block a user