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:
a81e2af
)
Little fixup of PATH_INFO algorithm... Default page is (k)id 1 now...
author
Harvie
<tomas@mudrunka.cz>
Sun, 28 Nov 2010 23:42:06 +0000
(
00:42
+0100)
committer
Harvie
<tomas@mudrunka.cz>
Sun, 28 Nov 2010 23:42:06 +0000
(
00:42
+0100)
wwwroot/nodes.php
patch
|
blob
|
blame
|
history
diff --git
a/wwwroot/nodes.php
b/wwwroot/nodes.php
index eb734abe3e04f570d34d166db47e4253c339fe7a..723f940753f7ea3a0a08f0066779c0b23eda7e8a 100644
(file)
--- a/
wwwroot/nodes.php
+++ b/
wwwroot/nodes.php
@@
-49,6
+49,10
@@
if($PATH_INFO != '') {
break;
}
}
+if(
+ (!isset($_GET['node_kid']) || trim($_GET['node_kid']) == '') &&
+ (!isset($_GET['node_id']) || trim($_GET['node_id']) == '')
+) $_GET['node_kid'] = 1;
//Base36 http://en.wikipedia.org/wiki/Base_36 (Initial support only :-)
if(isset($_GET['node_kid'])) $_GET['node_id'] = base_convert($_GET['node_kid'], 36, 10);
This page took
0.124023 seconds
and
4
git commands to generate.