introduced http_status() for sending HTTP status code FS#1698
It seems, some servers require a special Status: header for sending the HTTP status code from PHP (F)CGI to the server. This patch introduces a new function (adopted from CodeIgniter) for simplifying the status handling.
Showing
- inc/actions.php 3 additions, 3 deletionsinc/actions.php
- inc/auth.php 1 addition, 1 deletioninc/auth.php
- inc/httputils.php 71 additions, 0 deletionsinc/httputils.php
- inc/parser/code.php 1 addition, 1 deletioninc/parser/code.php
- lib/exe/detail.php 1 addition, 1 deletionlib/exe/detail.php
- lib/exe/fetch.php 2 additions, 2 deletionslib/exe/fetch.php
- lib/exe/mediamanager.php 2 additions, 2 deletionslib/exe/mediamanager.php
- lib/exe/xmlrpc.php 2 additions, 2 deletionslib/exe/xmlrpc.php
Please register or sign in to comment