# HG changeset patch # User Dan # Date 1202009529 18000 # Node ID 3289e4dcb4b81af6321c1f990b841be92c2a0118 # Parent fa4c5ecb7c9aabeaca0abb652332857165907800 Fixed some stray undefined-variable problems revealed as a result of testing on Windows Server '03, IIS6, PHP/FastCGI, and PostgreSQL 8.2.5. diff -r fa4c5ecb7c9a -r 3289e4dcb4b8 includes/template.php --- a/includes/template.php Sat Feb 02 11:54:16 2008 -0500 +++ b/includes/template.php Sat Feb 02 22:32:09 2008 -0500 @@ -841,7 +841,7 @@ function footer($simple = false) { - echo $this->getFooter(); + echo $this->getFooter($simple); ob_end_flush(); } @@ -852,7 +852,7 @@ define('ENANO_HEADERS_SENT', ''); if(!$this->no_headers) return $this->process_template('header.tpl'); } - function getFooter() + function getFooter($simple = false) { global $db, $session, $paths, $template, $plugins; // Common objects global $lang; diff -r fa4c5ecb7c9a -r 3289e4dcb4b8 install/includes/stages/license.php --- a/install/includes/stages/license.php Sat Feb 02 11:54:16 2008 -0500 +++ b/install/includes/stages/license.php Sat Feb 02 22:32:09 2008 -0500 @@ -20,6 +20,7 @@ function show_license($fb = false) { global $lang; + global $installer_version; ?>

get('license_info_unstable_title'); ?>

@@ -58,7 +59,7 @@ { $wiki = & Text_Wiki::singleton('Mediawiki'); $wiki->setRenderConf('Xhtml', 'code', 'css_filename', 'codefilename'); - $wiki->setRenderConf('Xhtml', 'wikilink', 'view_url', contentPath); + $wiki->setRenderConf('Xhtml', 'wikilink', 'view_url', scriptPath . '/index.php?title='); $result = $wiki->transform($message, 'Xhtml'); // HTML fixes