GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff8a58a
)
Disabled Base36 fascism redirect for download (probably some ugly hack out there)
author
Harvie
<tomas@mudrunka.cz>
Sat, 11 Dec 2010 18:04:57 +0000
(19:04 +0100)
committer
Harvie
<tomas@mudrunka.cz>
Sat, 11 Dec 2010 18:04:57 +0000
(19:04 +0100)
wwwroot/nodes.php
patch
|
blob
|
blame
|
history
diff --git
a/wwwroot/nodes.php
b/wwwroot/nodes.php
index 9da99532f7f09664c8936eb57cb1ed60c970d8cc..3687d0803a8047ec799fabab7d6e602e7d63f518 100644
(file)
--- a/
wwwroot/nodes.php
+++ b/
wwwroot/nodes.php
@@
-53,6
+53,7
@@
if($PATH_INFO != '') {
if(isset($PATH_CHUNKS[3]) && $PATH_CHUNKS[3] != '') $_GET['template_id'] = $PATH_CHUNKS[3];
//Base36 fascism redirect
+ if($_GET['template_id'] == 'download') break; //Fix ugly download hack...
if(!count($_POST)) {
header('Location: /k/'.base_convert($_GET['node_id'], 10, 36).
(isset($_GET['template_id'])?'/'.base_convert($_GET['template_id'], 10, 36):'')
This page took
0.130367 seconds
and
4
git commands to generate.