OSDN Git Service

add specialSkinParts setting
authorshizuki <shizuki@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Sat, 17 Feb 2007 04:35:07 +0000 (04:35 +0000)
committershizuki <shizuki@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Sat, 17 Feb 2007 04:35:07 +0000 (04:35 +0000)
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@202 1ca29b6e-896d-4ea0-84a5-967f57386b96

utf8/extra/fancyurls/.htaccess
utf8/extra/fancyurls/special [new file with mode: 0644]

index 85cc6c1..69f7bf0 100755 (executable)
@@ -15,4 +15,7 @@
 </FilesMatch>
 <FilesMatch "^blog$">
     ForceType application/x-httpd-php
 </FilesMatch>
 <FilesMatch "^blog$">
     ForceType application/x-httpd-php
-</FilesMatch>
\ No newline at end of file
+</FilesMatch>
+<FilesMatch "^special$">
+    ForceType application/x-httpd-php
+</FilesMatch>
diff --git a/utf8/extra/fancyurls/special b/utf8/extra/fancyurls/special
new file mode 100644 (file)
index 0000000..60171c4
--- /dev/null
@@ -0,0 +1,17 @@
+<?php
+
+include('./fancyurls.config.php');
+include('./config.php');
+
+if (!requestVar('special'))
+{
+       $data = explode("/",serverVar('PATH_INFO'));
+       if (count($data) > 1)
+       {
+               $_REQUEST['special'] = $data[1];
+       }
+}
+
+selector();
+
+?>
\ No newline at end of file