Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dokuwiki
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BRIC
dokuwiki
Commits
5655334d
Commit
5655334d
authored
11 years ago
by
Andreas Gohr
Browse files
Options
Downloads
Plain Diff
Merge pull request #558 from splitbrain/httputils
fix httputils PHPDocs
parents
b63529ad
90124802
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
inc/httputils.php
+4
-3
4 additions, 3 deletions
inc/httputils.php
with
4 additions
and
3 deletions
inc/httputils.php
+
4
−
3
View file @
5655334d
...
...
@@ -64,7 +64,8 @@ function http_conditionalRequest($timestamp){
* Let the webserver send the given file via x-sendfile method
*
* @author Chris Smith <chris@jalakai.co.uk>
* @returns void or exits with previously header() commands executed
* @param $file
* @returns bool or exits with previously header() commands executed
*/
function
http_sendfile
(
$file
)
{
global
$conf
;
...
...
@@ -92,7 +93,7 @@ function http_sendfile($file) {
*
* This function exits the running script
*
* @param res
s
ource $fh - file handle for an already open file
* @param resource $fh - file handle for an already open file
* @param int $size - size of the whole file
* @param int $mime - MIME type of the file
*
...
...
@@ -204,7 +205,7 @@ function http_gzip_valid($uncompressed_file) {
*
* This function handles output of cacheable resource files. It ses the needed
* HTTP headers. If a useable cache is present, it is passed to the web server
* and the scrpt is terminated.
* and the scr
i
pt is terminated.
*/
function
http_cached
(
$cache
,
$cache_ok
)
{
global
$conf
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment