[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/install/ -> installation.class.php (source)

   1  <?php
   2      class Installation
   3      {
   4  	    function check()
   5          {
   6              include_once ( PLOG_CLASS_PATH."config/config.properties.php" );
   7      
   8              if ( $config["db_host"] == '' || $config["db_username"] == '' || $config["db_database"] == '' ) {
   9                  // If those parameters are empty

  10                  echo 'LifeType has not been installed yet, you\'ll have to <font color="red"><b><a href="wizard.php" title="Install LifeType">Install LifeType</a></b></font> first!';
  11              } else {
  12                  echo 'The <font color="red"><b>wizard.php</b></font> has to be removed after the installation process. Please remove it first to <font color="green"><b><a href="'.$_SERVER['PHP_SELF'].'" title="'.end( split( "/", $_SERVER['PHP_SELF'] ) ).'">continue</a></b></font>.';
  13              }
  14          
  15              die();
  16          }
  17      }
  18  ?>


Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics