Change the default config for cops_x_accel_redirect to let PHP handle the
download. Should fix problem from KevNancy on IIS. Warning all Nginx users who wants to still use X-Accel-Redirect must add $config['cops_x_accel_redirect'] = "X-Accel-Redirect" in their config_local fix #33
This commit is contained in:
parent
2025bfc15e
commit
a96888c76a
3 changed files with 15 additions and 5 deletions
|
@ -49,10 +49,11 @@
|
|||
/*
|
||||
* Wich header to use when downloading books outside the web directory
|
||||
* Possible values are :
|
||||
* X-Accel-Redirect : For Nginx
|
||||
* X-Sendfile : For Lightttpd or Apache (with mod_xsendfile)
|
||||
* X-Accel-Redirect : For Nginx
|
||||
* X-Sendfile : For Lightttpd or Apache (with mod_xsendfile)
|
||||
* No value (default) : Let PHP handle the download
|
||||
*/
|
||||
$config['cops_x_accel_redirect'] = "X-Accel-Redirect";
|
||||
$config['cops_x_accel_redirect'] = "";
|
||||
|
||||
/*
|
||||
* Height of thumbnail image for OPDS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue