[ Index ]
 

Code source de dotProject 2.1 RC1

Accédez au Source d'autres logiciels libres | Soutenez Angelica Josefina !

title

Body

[fermer]

/install/ -> index.php (source)

   1  <?php // $Id: index.php,v 1.18.8.2 2006/04/21 06:55:15 ajdonnison Exp $
   2  /*
   3  All files in this work, except the modules/ticketsmith directory, are now
   4  covered by the following copyright notice.  The ticketsmith module is
   5  under the Voxel Public License.  See modules/ticketsmith/LICENSE
   6  for details.  Please note that included libraries in the lib directory
   7  may have their own license.
   8  
   9  Copyright (c) 2003-2005 The dotProject Development Team <core-developers@dotproject.net>
  10  
  11      This file is part of dotProject.
  12  
  13      dotProject is free software; you can redistribute it and/or modify
  14      it under the terms of the GNU General Public License as published by
  15      the Free Software Foundation; either version 2 of the License, or
  16      (at your option) any later version.
  17  
  18      dotProject is distributed in the hope that it will be useful,
  19      but WITHOUT ANY WARRANTY; without even the implied warranty of
  20      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  21      GNU General Public License for more details.
  22  
  23      You should have received a copy of the GNU General Public License
  24      along with dotProject; if not, write to the Free Software
  25      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  26  
  27  The full text of the GPL is in the COPYING file.
  28  */
  29  
  30  require_once  "check_upgrade.php";
  31  $mode = dPcheckUpgrade();
  32  ?>
  33  <html>
  34  <head>
  35      <title>dotProject Installer</title>
  36      <meta name="Description" content="dotProject Installer">
  37       <link rel="stylesheet" type="text/css" href="../style/default/main.css">
  38  </head>
  39  <body>
  40  <h1><img src="dp.png" align="middle" alt="dotProject Logo"/>&nbsp;dotProject Installer</h1>
  41  <table cellspacing="0" cellpadding="3" border="0" class="tbl" width="90%" align="center">
  42  <tr>
  43          <td class="item" colspan="2">Welcome to the dotProject Installer! It will setup the database for dotProject and create an appropriate config file.
  44      In some cases a manual installation cannot be avoided.
  45          </td>
  46  </tr>
  47  <tr>
  48          <td colspan="2">&nbsp;</td>
  49  </tr>
  50  <tr>
  51          <td class="title" colspan="2">There is an initial Check for (minimal) Requirements appended down below for troubleshooting. At least a database connection
  52      must be available and ../includes/config.php must be writable for the webserver!</td>
  53  </tr>
  54  <?php
  55      if ($mode == 'upgrade') {
  56  ?>
  57  <tr>
  58      <td class='title' colspan='2'><p class='error'>It would appear that you already have a dotProject installation. The installer will attempt to upgrade your system, however it is a good idea to take a full backup first!</p></td>
  59  <?php
  60      }
  61  ?>
  62  <tr>
  63          <td colspan="2" align="center"><br /><form action="db.php" method="post" name="form" id="form">
  64      <input class="button" type="submit" name="next" value="Start <?php echo $mode == 'install' ? "Installation" : "Upgrade" ?>" />
  65      <input type="hidden" name="mode" value="<?php echo $mode; ?>" /></form></td>
  66  </tr>
  67  </table>
  68  <br />
  69  <?php
  70  // define some necessary variables for check inclusion
  71  $failedImg = '<img src="../images/icons/stock_cancel-16.png" width="16" height="16" align="middle" alt="Failed"/>';
  72  $okImg = '<img src="../images/icons/stock_ok-16.png" width="16" height="16" align="middle" alt="OK"/>';
  73  $tblwidth = '90%';
  74  $cfgDir = "../includes";
  75  $cfgFile = "../includes/config.php";
  76  $filesDir = "../files";
  77  $locEnDir = "../locales/en";
  78  $tmpDir = "../files/temp";
  79  include_once ("vw_idx_check.php");
  80  ?>
  81  </body>
  82  </html>


Généré le : Sun Feb 18 19:46:52 2007 par Balluche grâce à PHPXref 0.7