--- 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;
?>
<div class="scroller">
<?php
@@ -28,7 +29,7 @@
echo 'Cannot find the license files.';
}
echo file_get_contents('./language/english/install/license-deed.html');
- if ( defined('ENANO_BETA_VERSION') || $branch == 'unstable' )
+ if ( $installer_version['type'] != 'stable' )
{
?>
<h3><?php echo $lang->get('license_info_unstable_title'); ?></h3>
@@ -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