mirror of
https://github.com/VladPolskiy/dokuwiki.git
synced 2025-07-23 00:44:52 +00:00
Defective transplantation of export from .htaccess
Ебаный стыд ≺(⊙⁔(\)≻
This commit is contained in:
@ -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];
|
||||
|
Reference in New Issue
Block a user