some further purification of nodes.php
authorDaniel Hromada <hromi@Aphrodité.(none)>
Wed, 26 Jan 2011 21:55:39 +0000 (22:55 +0100)
committerDaniel Hromada <hromi@Aphrodité.(none)>
Wed, 26 Jan 2011 21:55:39 +0000 (22:55 +0100)
commit08f5f7a7e240eac52c284b57561a9d45f313b45e
tree282177b757b0861d501c8abaa1a0b9e17918828e
parent8d1d62919cfa79aac14319c1d0df5355345a0aac
some further purification of nodes.php

code responsible for parsing of $_GET variables is almost completely rewritten
(comments about base36 facism were deleted, we do not want such concepts to pollute our minds)

syntax as follows
kyberiacz/id/NUMERIC_NODE_ID/TEMPLATE_Id
kyberiacz/k/BASE36_NODE_ID/TEMPLATE_Id
kyberiacz/name/NODE_NAME
(/name/ was added as an identifier because I wanted to create a
universal solution, independent from mod_rewrite rules in maximal possible extent)

THIS IS NOW THE ONLY MOD_REWRITE RULE present in my kyberia.conf file, all subsequent processin is in nodes.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) /nodes.php/$1 [L]
wwwroot/nodes.php
This page took 0.100495 seconds and 4 git commands to generate.