Initial Base36 ( http://en.wikipedia.org/wiki/Base_36 ) support - experimental
[mirrors/Kyberia-bloodline.git] / wwwroot / nodes.php
index 9a5ff1bb832ebe3462f342b389d19f49e26c0b77..5da40699896fcf9320aba1ff09bf213e8aa80bb5 100644 (file)
@@ -28,6 +28,10 @@ if ($_SESSION['debugging']) {
     print_r($_SESSION);
 }
 
+//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);
+if(isset($_GET['template_kid'])) $_GET['template_id'] = base_convert($_GET['template_kid'], 36, 10);
+
 //requiring main config file with path/database etc. constants
 require('config/config.inc');
 require(INCLUDE_DIR.'senate.inc');
This page took 0.121401 seconds and 4 git commands to generate.