rendered paste body<?phprequire_once('../startup.php');//print_r($_SERVER);$thisdir = basename(dirname(__FILE__)); // Synchronize the tinycore folder with this folder.//(?:\?.*)?if(preg_match("/($thisdir\/[^\/\?$]+)\/?([^\/\?$]+)?/", $_SERVER['REQUEST_URI'], $matches)){var_dump($matches); $category = $core->get_folder_uri($matches[1]); if(!$category) special_die('Category not found.'); if(isset($matches[2])) // If thread { $thread = $category->get_offset(urldecode($matches[2])); if(!$thread) special_die('Thread not found.'); include('thread.php'); } else // Category { include('category.php'); }}//var_dump($matches);//exit();?>