[ Index ]
 

Code source de phpMyVisites 2.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/core/install/ -> InstallSystemRequirements.class.php (source)

   1  <?php
   2  /* 
   3   * phpMyVisites : website statistics and audience measurements
   4   * Copyright (C) 2002 - 2006
   5   * http://www.phpmyvisites.net/ 
   6   * phpMyVisites is free software (license GNU/GPL)
   7   * Authors : phpMyVisites team
   8  */
   9  
  10  // $Id: InstallSystemRequirements.class.php 29 2006-08-18 07:35:21Z matthieu_ $
  11  
  12  
  13  require_once  INCLUDE_PATH."/core/include/InstallModule.class.php";
  14  
  15  class InstallSystemRequirements extends InstallModule
  16  {
  17      var $viewTemplate = "install/system_requirements.tpl";
  18      
  19      var $stepNumber = 2;
  20      
  21  	function InstallSystemRequirements()
  22      {
  23          parent::InstallModule();
  24      }
  25  
  26  	function process()
  27      {
  28          $infos = getSystemInformation( $this->tpl );
  29          $this->tpl->assign("server", $infos);    
  30          
  31          $error = false;
  32          
  33          foreach($infos['dirs'] as $value)
  34          {
  35              if(!$value) $error = true;
  36          }
  37      
  38          $this->tpl->assign("show_next_step", !$error);
  39          $this->tpl->assign("display_information", false);
  40      }
  41  }
  42  ?>


Généré le : Mon Nov 26 14:10:01 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics