OSDN Git Service

FIX:Strict Standards: Only variables should be passed by reference in
[nucleus-jp/nucleus-next.git] / extra / fancyurls / blog
1 <?php
2
3 include('./fancyurls.config.php');
4 include('./config.php');
5
6 // default to default implementation (/blog/1234)
7 // if blogid was not filled out by plugins
8 if ( $blogid == 0 )
9 {
10         $data = preg_split("#/#",serverVar('PATH_INFO'));
11         if (count($data) > 1)
12         {
13                 $blogid = (integer) $data[1];
14         }
15 }
16
17 selector();