--- /dev/null
+<?php
+
+include('./fancyurls.config.php');
+include('./config.php');
+
+// default to default implementation (/item/1234)
+// if itemid was not filled out by plugins
+if ($itemid == 0)
+{
+ $data = explode("/",serverVar('PATH_INFO'));
+ if (count($data) > 1)
+ {
+ $itemid = intval($data[1]);
+ }
+}
+
+selector();
+
+?>
\ No newline at end of file