Skip to content

muellerlukas/simulatesendfile_wordpress

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

General

This plugin for wordpress is based on my class for faking mod_sendfile via symlinks

Installation

Really simple: Just place the files in a directory with the name "simulatesendfile" in your wordpress plugin-directory.

Additional informations for some plugins

Some plugins search explicitly for the "mod_sendfile"-module in apache. In most cases (PHP running NOT as module) you can include or copy the contents from "dirtyhacks.php" in the "functions.php" of your theme. Known plugins are currently:

  • WooCommerce

Configuration

Currently there are some options that can be set via database or a respective plugin

option name description default
simulatesendfile_dir directory where symlinks are stored WP_CONTENT_URL '/symlinks'
simulatesendfile_expire time in seconds a symlink is removed 3600

About

Wordpress-Plugin to simulate X-Sendfile

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages