Magellan Linux

Annotation of /alx-src/branches/alx-web-070/include/config.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13248 - (hide annotations) (download)
Wed Jul 10 09:08:08 2019 UTC (4 years, 10 months ago) by niro
File size: 1177 byte(s)
-php7 fix: only start a SESSION if not already active
1 niro 1610 <?
2    
3 niro 2183 // SESSION
4 niro 13248 if(session_status() !== PHP_SESSION_ACTIVE) session_start();
5 niro 2183 if( !isset($_SESSION['openclose']) )
6     {
7 niro 7094 //session_register('openclose');
8     //$_SESSION['openclose'] = $openclose;
9 niro 2183 $_SESSION['openclose'] = array();
10     }
11 niro 1610
12 niro 2183 // Datenbankverbindungs-Konfiguration
13 niro 8516 $dbhost = "mcored"; // -> /etc/hosts 127.0.0.1 mcored required, >php-5.4 uses the certificate common name as issuer
14 niro 7734 $dbname = "mcore";
15 niro 2183 $dbuname = "alx_install";
16     $dbpass = "@lx";
17 niro 1633
18 niro 2183 // wake-on-lan Kommando
19 niro 7710 $woliface = "eth0";
20 niro 12868 $wolcmd = "sudo /usr/sbin/ether-wake -i ".$woliface;
21 niro 1633
22 niro 2608 // citrix_browser addresses
23 niro 7735 $citrix_serverlist = 'ica.dom-aka-nt.intern';
24 niro 2608
25 niro 2609 // citrix default domain name
26     $citrix_domain_name = 'DOM_AKA_NT';
27    
28 niro 7131 // storefront store
29 niro 7736 $storefront_store = 'https://storefront.dom-aka-nt.intern/Citrix/ALX/PNAgent/config.xml';
30 niro 7131
31     // storefront default domain name
32     $storefront_domain_name = 'DOM_AKA_NT';
33    
34 niro 8472 // rdesktop default server
35     $rdesktop_server = 'esa-ts-01.dom-aka-nt.intern';
36    
37     // rdesktop default domain name
38     $rdesktop_domain_name = 'DOM_AKA_NT';
39    
40 niro 7110 // mcore client port
41     $mcore_port = 6666;
42    
43 niro 8459 // mcore certificate
44     $mcore_certificate = '/etc/ssl/certs/mcored.pem';
45    
46 niro 7110 // ping timout
47     $ping_timeout = 0.01;
48    
49 niro 1610 ?>