112e0dc636d8ef1ada467bd4a7a68b4362b1b140
bernd Beispiel-Config

bernd authored 17 years ago

1) <?php
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

2) /*
3) This file belongs to the Webinterface of schokokeks.org Hosting
4) 
Hanno Böck Change license from CC0 to...

Hanno Böck authored 2 years ago

5) Written by schokokeks.org Hosting, namely
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

6)   Bernd Wurst <bernd@schokokeks.org>
7)   Hanno Böck <hanno@schokokeks.org>
8) 
Hanno Böck Change license from CC0 to...

Hanno Böck authored 2 years ago

9) This code is published under a 0BSD license.
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

10) 
11) Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code.
12) */
bernd Beispiel-Config

bernd authored 17 years ago

13) 
14) global $config;
Hanno Böck Codingstyle PSR12 + array s...

Hanno Böck authored 3 years ago

15) $config = [];
bernd Beispiel-Config

bernd authored 17 years ago

16) 
schokokeks.org web services Ermögliche Socket-Angabe fü...

schokokeks.org web services authored 10 years ago

17) // either...
18) $config['db_socket'] = '/var/run/mysqld/mysqld-sys.sock';
19) // ... or
20) $config['db_host'] = '10.8.0.1';
21) $config['db_port'] = 3307;
22) // (socket is preferred if both are defined)
23) 
bernd Beispiel-Config

bernd authored 17 years ago

24) $config['db_user'] = 'username';
25) $config['db_pass'] = 'password';
26) 
27) 
Hanno Böck Codingstyle PSR12 + array s...

Hanno Böck authored 3 years ago

28) $config['modules'] = ["index", "domains", "imap", "mysql", "jabber", "vhosts", "register", "systemuser", "su"];
bernd Beispiel-Config

bernd authored 17 years ago

29) 
30) $config['enable_debug'] = true;
bernd Logger mit Logleveln

bernd authored 15 years ago

31) $config['logging'] = LOG_ERR;
bernd Beispiel-Config

bernd authored 17 years ago

32) 
33) 
Bernd Wurst Referenzen auf cracklib ent...

Bernd Wurst authored 6 years ago

34) $config['mime_type'] = 'text/html';
bernd MIME-Type konfigurierbar

bernd authored 17 years ago

35) 
bernd Session-Name aus einer Conf...

bernd authored 14 years ago

36) $config['session_name'] = 'CONFIG_SCHOKOKEKS_ORG';
bernd Neue Config-Variable für theme

bernd authored 14 years ago

37) $config['theme'] = 'default';
bernd MIME-Type konfigurierbar

bernd authored 17 years ago

38)