Alternc  3.2
Alternc logiel libre pour l'h├ębergement
 All Data Structures Namespaces Files Functions Variables Pages
phpmyadmin.inc.php
Go to the documentation of this file.
1 <?php
2 
3 # AUTO GENERATED FILE
4 # Modify template in /etc/alternc/templates/
5 # and launch alternc.install if you want
6 # to modify this file.
7 
8 /**
9  * Special phpmyadmin configuration for AlternC
10  *
11  * We setup two new servers:
12  *
13  * i: a server with a hardcoded username/password corresponding to the
14  * one setup in the AlternC panels
15  *
16  * i+1: a regular server with a cookie-based auth
17  *
18  * the content of this file will be included in the
19  * /etc/phpmyadmin/config.inc.php
20  */
21 
22 $cfg['SuhosinDisableWarning'] = true;
23 $cfg['ShowCreateDb'] = false;
24 $cfg['ShowChgPassword'] = false;
25 $cfg['LoginCookieRecall'] = false;
26 $cfg['blowfish_secret'] = '%%PHPMYADMIN_BLOWFISH%%';
27 
28 $i = 1;
29 
30 // Magic auth with AlternC
31 // If SSO doesn't work, redirect to the second server
32 $cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
33 $cfg['Servers'][$i]['hide_db'] = 'information_schema';
34 $cfg['Servers'][$i]['auth_type'] = 'signon';
35 $cfg['Servers'][$i]['SignonSession'] = 'AlternC_Panel'; // must be the same as AlternC Panel
36 $cfg['Servers'][$i]['verbose'] = 'Single Sign On virtual server'; // human name
37 $cfg['Servers'][$i]['SignonURL'] = '/alternc-sql/index.php?server=2'; // if login fail, where to go ?
38 $cfg['Servers'][$i]['LogoutURL'] = '/index.php'; // go to panel main page when you logout
39 
40 // Start the auto-generated list of db-server by alternc.install