update lock clucknut
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 14s
Build, Push and Deploy / build-and-push (push) Successful in 3m14s
Build, Push and Deploy / deploy-staging (push) Successful in 25s
Build, Push and Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-04-18 20:32:18 +07:00
parent 4554035227
commit dcaf267458
3359 changed files with 153185 additions and 205489 deletions

View File

@@ -5,9 +5,7 @@
use Safe\Exceptions\ApacheException;
/**
* Fetch the Apache version.
*
* @return string Returns the Apache version on success.
* @return string
* @throws ApacheException
*
*/
@@ -23,12 +21,9 @@ function apache_get_version(): string
/**
* Retrieve an Apache environment variable specified by
* variable.
*
* @param string $variable The Apache environment variable
* @param bool $walk_to_top Whether to get the top-level variable available to all Apache layers.
* @return string The value of the Apache environment variable on success
* @param string $variable
* @param bool $walk_to_top
* @return string
* @throws ApacheException
*
*/
@@ -44,39 +39,8 @@ function apache_getenv(string $variable, bool $walk_to_top = false): string
/**
* This performs a partial request for a URI. It goes just far
* enough to obtain all the important information about the given
* resource.
*
* @param string $filename The filename (URI) that's being requested.
* @return object An object of related URI information. The properties of
* this object are:
*
*
* status
* the_request
* status_line
* method
* content_type
* handler
* uri
* filename
* path_info
* args
* boundary
* no_cache
* no_local_copy
* allowed
* send_bodyct
* bytes_sent
* byterange
* clength
* unparsed_uri
* mtime
* request_time
*
*
* Returns FALSE on failure.
* @param string $filename
* @return object
* @throws ApacheException
*
*/
@@ -92,10 +56,7 @@ function apache_lookup_uri(string $filename): object
/**
* Fetches all HTTP request headers from the current request. Works in the
* Apache, FastCGI, CLI, and FPM webservers.
*
* @return array|false An associative array of all the HTTP headers in the current request.
* @return array|false
*
*/
function apache_request_headers()
@@ -107,10 +68,7 @@ function apache_request_headers()
/**
* Fetch all HTTP response headers. Works in the
* Apache, FastCGI, CLI, and FPM webservers.
*
* @return array|false An array of all Apache response headers on success.
* @return array|false
*
*/
function apache_response_headers()
@@ -122,13 +80,9 @@ function apache_response_headers()
/**
* apache_setenv sets the value of the Apache
* environment variable specified by
* variable.
*
* @param string $variable The environment variable that's being set.
* @param string $value The new variable value.
* @param bool $walk_to_top Whether to set the top-level variable available to all Apache layers.
* @param string $variable
* @param string $value
* @param bool $walk_to_top
* @throws ApacheException
*
*/
@@ -143,13 +97,7 @@ function apache_setenv(string $variable, string $value, bool $walk_to_top = fals
/**
* Fetches all HTTP headers from the current request.
*
* This function is an alias for apache_request_headers.
* Please read the apache_request_headers
* documentation for more information on how this function works.
*
* @return array An associative array of all the HTTP headers in the current request.
* @return array
*
*/
function getallheaders(): array
@@ -161,19 +109,7 @@ function getallheaders(): array
/**
* virtual is an Apache-specific function which
* is similar to <!--#include virtual...--> in
* mod_include.
* It performs an Apache sub-request. It is useful for including
* CGI scripts or .shtml files, or anything else that you would
* parse through Apache. Note that for a CGI script, the script
* must generate valid CGI headers. At the minimum that means it
* must generate a Content-Type header.
*
* To run the sub-request, all buffers are terminated and flushed to the
* browser, pending headers are sent too.
*
* @param string $uri The file that the virtual command will be performed on.
* @param string $uri
* @throws ApacheException
*
*/