Changeset 3581

Show
Ignore:
Timestamp:
01/19/07 11:12:24 (6 years ago)
Author:
gregmac
Message:

Remove index file - redirct to config.php

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/quickform/amp_conf/htdocs/admin/index.php

    r2871 r3581  
    1 <?php /* $Id$ */ 
    2 //Copyright (C) 2004 Coalescent Systems Inc. (info@coalescentsystems.ca) 
    3 // 
    4 //This program is free software; you can redistribute it and/or 
    5 //modify it under the terms of the GNU General Public License 
    6 //as published by the Free Software Foundation; either version 2 
    7 //of the License, or (at your option) any later version. 
    8 // 
    9 //This program is distributed in the hope that it will be useful, 
    10 //but WITHOUT ANY WARRANTY; without even the implied warranty of 
    11 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    12 //GNU General Public License for more details. 
    13  
    14 $title=_("freePBX administration"); 
    15 $message=_("Administration"); 
    16  
    17 require_once('functions.inc.php'); 
    18  
    19 // start session 
    20 session_start(); 
    21  
    22 // get settings 
    23 $amp_conf      = parse_amportal_conf("/etc/amportal.conf"); 
    24 $asterisk_conf = parse_asterisk_conf("/etc/asterisk/asterisk.conf"); 
    25  
    26 // connect to database 
    27 require_once('common/db_connect.php'); //PEAR must be installed 
    28  
    29 $quietmode = false; 
    30 include 'header.php'; 
    31  
    32 ?> 
    33 <div id="nav"> 
    34   <ul> 
    35     <li> 
    36       <a href="index.php" id="current"><?php echo _("Welcome"); ?></a> 
    37     </li> 
    38   </ul> 
    39 </div> 
    40  
    41 <div id="wrapper"> 
    42   <div id="left-corner"></div> 
    43   <div id="right-corner"></div> 
    44   <div class="content"> 
    45     <h2>freePBX</h2> 
    46     <p> 
    47     <?php echo _("Welcome to the FreePBX Administration") ?> <?php echo getversion(); ?> 
    48     <br><br><br><br><br><br> 
    49     </p> 
    50   </div> 
    51  
    52  
    53 <? 
    54 include "footer.php"; 
    55 ?> 
    56  
    57 </div> <!-- /wrapper --> 
    58  
    59 </div> <!-- /page --> 
    60  
    61 </body> 
    62  
    63 </html> 
     1<?php header("Location: config.php"); ?>