install/includes/stages/license.php
changeset 396 3289e4dcb4b8
parent 348 87e08a6e4fec
child 536 218a627eb53e
--- 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