install/readme.php
changeset 348 87e08a6e4fec
child 536 218a627eb53e
equal deleted inserted replaced
347:299a90e28abc 348:87e08a6e4fec
       
     1 <?php
       
     2 
       
     3 /*
       
     4  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
       
     5  * Version 1.1.1
       
     6  * Copyright (C) 2006-2007 Dan Fuhry
       
     7  * Installation package
       
     8  * install.php - Main installation interface
       
     9  *
       
    10  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
       
    11  * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
       
    12  *
       
    13  * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
       
    14  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
       
    15  */
       
    16 
       
    17 require_once('includes/common.php');
       
    18 
       
    19 $ui = new Enano_Installer_UI('Enano installation', false);
       
    20 
       
    21 $stg_readme = $ui->add_stage('Readme and important information', true);
       
    22 
       
    23 $ui->set_visible_stage($stg_readme);
       
    24 
       
    25 $ui->show_header();
       
    26 
       
    27 ?>
       
    28 <h2>Readme</h2>
       
    29 <p>This document contains important information you'll want to know before you install Enano. For installation instructions, please
       
    30    see the <a href="http://docs.enanocms.org/Help:2.1">Enano installation guide</a>. <a href="index.php">Return to welcome menu &raquo;</a></p>
       
    31 <pre class="scroller"><?php
       
    32 
       
    33 $readme = @file_get_contents('./README');
       
    34 echo htmlspecialchars($readme);
       
    35 
       
    36 ?></pre>
       
    37 <?php
       
    38 
       
    39 $ui->show_footer();
       
    40 
       
    41 ?>