source: trunk/install/local.php @ 884

Revision 884, 1.8 KB checked in by anarcat, 7 years ago (diff)

afin de regler une fois pour toutes les problèmes de connection MySQL,
déterminer dans debconf et local.sh un paramètre MYSQL_CLIENT qui
indique à alternc comment créer les GRANT dans mysql.

reste à tester, imposible à faire pour l'instant à cause des bugs
local.sh.

Should close: #366

Line 
1<?php
2/*
3 $Id: local.php,v 1.6 2005/04/01 16:40:16 benjamin Exp $
4 ----------------------------------------------------------------------
5 AlternC - Web Hosting System
6 Copyright (C) 2002 by the AlternC Development Team.
7 http://alternc.org/
8 ----------------------------------------------------------------------
9 Based on:
10 Valentin Lacambre's web hosting softwares: http://altern.org/
11 ----------------------------------------------------------------------
12 LICENSE
13
14 This program is free software; you can redistribute it and/or
15 modify it under the terms of the GNU General Public License (GPL)
16 as published by the Free Software Foundation; either version 2
17 of the License, or (at your option) any later version.
18
19 This program is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 GNU General Public License for more details.
23
24 To read the license please visit http://www.gnu.org/copyleft/gpl.html
25 ----------------------------------------------------------------------
26 Original Author of file:
27 Purpose of file: Variables spécifique au serveur (locales)
28 ----------------------------------------------------------------------
29*/
30global $L_MYSQL_HOST,$L_MYSQL_LOGIN,$L_MYSQL_PWD,$L_MYSQL_DATABASE,$L_MYSQL_CLIENT,$L_SHOWVERSION,$L_VERSION,$L_FQDN,$L_HOSTING,$L_NS2,$L_NS1,$L_MX;
31
32$L_MX="%%mx%%";
33$L_NS1="%%ns1%%";
34$L_NS2="%%ns2%%";
35$L_HOSTING="%%hosting%%";
36$L_FQDN="%%fqdn%%";
37
38$L_MYSQL_HOST="%%dbhost%%";
39$L_MYSQL_LOGIN="%%dbuser%%";
40$L_MYSQL_PWD="%%dbpwd%%";
41$L_MYSQL_DATABASE="%%dbname%%";
42$L_MYSQL_CLIENT="%%dbclient%%";
43
44$L_SHOWVERSION=1; /* Faut-il afficher la version d'AlternC dans le menu ? */
45$L_VERSION="%%version%%"; /* Contient la version d'AlternC, ne pas modifier */
46
47/* ATTENTION : AUCUNE CARACTERE APRES LE ? > SUIVANT !!! */
48
49?>
Note: See TracBrowser for help on using the repository browser.