diff options
author | Rainbow Spike <Dr-Yukon@users.noreply.github.com> | 2019-02-21 06:51:42 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-21 06:51:42 +1000 |
commit | 62c31ba5b30c0355765884deef00e305b304b0ea (patch) | |
tree | 04679d20ac53ce63194621c7ee702140bed2091b /index.php | |
parent | dd34b00df6b9ce93c881962596e5b7a63e38f714 (diff) | |
download | dokuwiki-62c31ba5b30c0355765884deef00e305b304b0ea.tar.gz dokuwiki-62c31ba5b30c0355765884deef00e305b304b0ea.zip |
Defective transplantation of export from .htaccess
Ебаный стыд ≺(⊙⁔(\)≻
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ if(preg_match('/^\/_media\/(.*)/', $_SERVER['SCRIPT_NAME'], $m)) { $_GET['media'] = $m[1]; require $_SERVER['DOCUMENT_ROOT'] . '/lib/exe/detail.php'; -} else if(preg_match('/^\/_media\/(.*)/', $_SERVER['SCRIPT_NAME'], $m)) { +} else if(preg_match('/^\/_export\/([^\/]+)\/(.*)/', $_SERVER['SCRIPT_NAME'], $m)) { # exports $_GET['do'] = 'export_' . $m[1]; $_GET['id'] = $m[2]; |