* Copyright (C) 2004 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ * $Source$ */ // Choix du menu à garder fixe // Ceci va servir pour garder le menu fixe quelquesoit les liens cliqué // dans ce menu. Cela permet d'appeler des pages en dehors sans perdre // le menu qui nous intéresse. // ELDY: A finir //session_start(); //$fix_top_menu="accueil"; //$fix_left_menu="system"; //session_register("fix_top_menu"); //session_register("fix_left_menu"); //include_once("../../allpre.inc.php"); require("./pre.inc.php"); if (!$user->admin) accessforbidden(); llxHeader(); print_titre("Résumé des informations systèmes Dolibarr"); print "
\n"; print ''; print "\n"; print "\n"; //print "\n"; print '
Dolibar
Version" . DOL_VERSION . "
Version de la base de données" . DOL_VERSION_DB . "
'; print "
\n"; print ''; print "\n"; // Récupère la version de l'OS ob_start(); phpinfo(); $chaine = ob_get_contents(); ob_end_clean(); eregi('System ',$chaine,$reg); print "\n"; print '
OS
([^\/]*)
Version".$reg[1]."
'; print "
\n"; print ''; print "\n"; print "\n"; print "\n"; print '
Serveur Web
Version".$_SERVER["SERVER_SOFTWARE"]."
document root" . DOL_DOCUMENT_ROOT . "
'; print "
\n"; print ''; print "\n"; print "\n"; print "\n"; print '
PHP
Version".phpversion()."
Liaison Web-PHP".php_sapi_name()."
'; print "
\n"; print ''; print "\n"; $sql = "SHOW VARIABLES LIKE 'version'"; $result = $db->query($sql); if ($result) { $row = $db->fetch_row(); } print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print '
Base de données
Version" . $row[1] . "
Type" . $conf->db->type . "
Host" . $conf->db->host . "
User" . $conf->db->user . " 
Pass" . $conf->db->pass . " 
Database name" . $conf->db->name . "
'; llxFooter("Dernière modification $Date$ révision $Revision$"); ?>