Skip to content

muellerlukas/simulatesendfile_wordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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