diff -r a1ccf990db6b -r a007145a0ff6 includes/render.php
--- a/includes/render.php Sat Dec 01 02:39:49 2007 -0500
+++ b/includes/render.php Mon Dec 03 17:36:25 2007 -0500
@@ -41,7 +41,6 @@
function getPage($page_id, $namespace, $wiki = 1, $smilies = true, $filter_links = true, $redir = true, $render = true)
{
global $db, $session, $paths, $template, $plugins; // Common objects
- dc_here('render: page requested
ID/namespace: '."$page_id, $namespace
Wiki mode: $wiki
Smilies: ".(string)$smilies."
Allow redirects: ".(string)$redir);
$perms =& $session;
@@ -81,7 +80,6 @@
if ( preg_match("#^\#redirect \[\[([^\]\r\n\a\t]+?)\]\]#", $message, $m) && $redir && ( !isset($_GET['redirect']) || ( isset($_GET['redirect']) && $_GET['redirect'] != 'no' ) ) )
{
- dc_here('render: looks like a redirect page to me...');
$old = $paths->cpage;
$a = RenderMan::strToPageID($m[1]);
$a[0] = str_replace(' ', '_', $a[0]);
@@ -91,8 +89,6 @@
$paths->cpage = $paths->pages[$pageid];
//die('
'.print_r($paths->cpage,true).''); - dc_here('render: wreckin\' $template, and reloading the theme vars to match the new page
This page is a redirector. This means that this page will not show its own content by default. Instead it will display the contents of the page it redirects to. To create a redirect page, make the first characters in the page content #redirect [[Page_ID]]. For more information, see the Enano Wiki formatting guide. This page redirects to '.$paths->pages[$m[1]]['name'].'. |