diff -r 199b9708f4a2 -r 854eecfada20 includes/render.php
--- a/includes/render.php Sun Dec 02 16:00:56 2007 -0500
+++ b/includes/render.php Fri Dec 07 16:42:22 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'].'. |