Defective transplantation of export from .htaccess

Ебаный стыд ≺(⊙⁔(\)≻
This commit is contained in:
Rainbow Spike
2019-02-21 06:51:42 +10:00
committed by GitHub
parent dd34b00df6
commit 62c31ba5b3

View File

@ -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];