Browse code

Change license from CC0 to 0BSD, all contributors agreed

Hanno Böck authored on 20/08/2022 09:22:23
Showing 1 changed files
... ...
@@ -2,14 +2,11 @@
2 2
 /*
3 3
 This file belongs to the Webinterface of schokokeks.org Hosting
4 4
 
5
-Written 2008-2018 by schokokeks.org Hosting, namely
5
+Written by schokokeks.org Hosting, namely
6 6
   Bernd Wurst <bernd@schokokeks.org>
7 7
   Hanno Böck <hanno@schokokeks.org>
8 8
 
9
-To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
10
-
11
-You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see
12
-http://creativecommons.org/publicdomain/zero/1.0/
9
+This code is published under a 0BSD license.
13 10
 
14 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.
15 12
 */
Browse code

Codingstyle PSR12 + array syntax

Hanno Böck authored on 30/10/2021 21:18:17
Showing 1 changed files
... ...
@@ -15,7 +15,7 @@ Nevertheless, in case you use a significant part of this code, we ask (but not r
15 15
 */
16 16
 
17 17
 global $config;
18
-$config = array();
18
+$config = [];
19 19
 
20 20
 // either...
21 21
 $config['db_socket'] = '/var/run/mysqld/mysqld-sys.sock';
... ...
@@ -28,7 +28,7 @@ $config['db_user'] = 'username';
28 28
 $config['db_pass'] = 'password';
29 29
 
30 30
 
31
-$config['modules'] = array("index", "domains", "imap", "mysql", "jabber", "vhosts", "register", "systemuser", "su");
31
+$config['modules'] = ["index", "domains", "imap", "mysql", "jabber", "vhosts", "register", "systemuser", "su"];
32 32
 
33 33
 $config['enable_debug'] = true;
34 34
 $config['logging'] = LOG_ERR;
Browse code

Fix coding style with php-cs-checker, see https://cs.sensiolabs.org/

Hanno authored on 26/06/2018 13:58:19
Showing 1 changed files
... ...
@@ -8,7 +8,7 @@ Written 2008-2018 by schokokeks.org Hosting, namely
8 8
 
9 9
 To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
10 10
 
11
-You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see 
11
+You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see
12 12
 http://creativecommons.org/publicdomain/zero/1.0/
13 13
 
14 14
 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.
... ...
@@ -40,6 +40,4 @@ $config['session_name'] = 'CONFIG_SCHOKOKEKS_ORG';
40 40
 $config['theme'] = 'default';
41 41
 $config['jquery_ui_path'] = '/external/jquery';
42 42
 
43
-ini_set('display_errors','On');
44
-
45
-?>
43
+ini_set('display_errors', 'On');
Browse code

Referenzen auf cracklib entfernt

Bernd Wurst authored on 09/02/2018 05:58:06
Showing 1 changed files
... ...
@@ -30,18 +30,15 @@ $config['db_pass'] = 'password';
30 30
 
31 31
 $config['modules'] = array("index", "domains", "imap", "mysql", "jabber", "vhosts", "register", "systemuser", "su");
32 32
 
33
-$config['use_cracklib'] = true;
34
-$config['cracklib_dict'] = 'inc/cracklib_dict';
35
-
36 33
 $config['enable_debug'] = true;
37 34
 $config['logging'] = LOG_ERR;
38 35
 
39 36
 
40
-$config['mime_type'] = 'application/xhtml+xml';
37
+$config['mime_type'] = 'text/html';
41 38
 
42 39
 $config['session_name'] = 'CONFIG_SCHOKOKEKS_ORG';
43 40
 $config['theme'] = 'default';
44
-$config['jquery_ui_path'] = 'https://source.schokokeks.org/external/jquery/jquery-ui-1.10.0/';
41
+$config['jquery_ui_path'] = '/external/jquery';
45 42
 
46 43
 ini_set('display_errors','On');
47 44
 
Browse code

Copyright year update

Bernd Wurst authored on 13/01/2018 06:07:05
Showing 1 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 /*
3 3
 This file belongs to the Webinterface of schokokeks.org Hosting
4 4
 
5
-Written 2008-2014 by schokokeks.org Hosting, namely
5
+Written 2008-2018 by schokokeks.org Hosting, namely
6 6
   Bernd Wurst <bernd@schokokeks.org>
7 7
   Hanno Böck <hanno@schokokeks.org>
8 8
 
Browse code

Lizenzinfos in eigenes Modul ausgelagert und Copyright auf 2014 angepasst

Bernd Wurst authored on 08/02/2014 05:45:07
Showing 1 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 /*
3 3
 This file belongs to the Webinterface of schokokeks.org Hosting
4 4
 
5
-Written 2008-2013 by schokokeks.org Hosting, namely
5
+Written 2008-2014 by schokokeks.org Hosting, namely
6 6
   Bernd Wurst <bernd@schokokeks.org>
7 7
   Hanno Böck <hanno@schokokeks.org>
8 8
 
Browse code

Ermögliche Socket-Angabe für Datenbankverbindung

schokokeks.org web services authored on 02/02/2014 05:46:02
Showing 1 changed files
... ...
@@ -17,7 +17,13 @@ Nevertheless, in case you use a significant part of this code, we ask (but not r
17 17
 global $config;
18 18
 $config = array();
19 19
 
20
-$config['db_host'] = ':/var/run/mysqld/mysqld-sys.sock';
20
+// either...
21
+$config['db_socket'] = '/var/run/mysqld/mysqld-sys.sock';
22
+// ... or
23
+$config['db_host'] = '10.8.0.1';
24
+$config['db_port'] = 3307;
25
+// (socket is preferred if both are defined)
26
+
21 27
 $config['db_user'] = 'username';
22 28
 $config['db_pass'] = 'password';
23 29
 
... ...
@@ -37,6 +43,6 @@ $config['session_name'] = 'CONFIG_SCHOKOKEKS_ORG';
37 43
 $config['theme'] = 'default';
38 44
 $config['jquery_ui_path'] = 'https://source.schokokeks.org/external/jquery/jquery-ui-1.10.0/';
39 45
 
40
-ini_set('error_reporting','On');
46
+ini_set('display_errors','On');
41 47
 
42 48
 ?>
Browse code

Configurable jQuery-path

Bernd Wurst authored on 21/01/2013 17:04:26
Showing 1 changed files
... ...
@@ -35,6 +35,7 @@ $config['mime_type'] = 'application/xhtml+xml';
35 35
 
36 36
 $config['session_name'] = 'CONFIG_SCHOKOKEKS_ORG';
37 37
 $config['theme'] = 'default';
38
+$config['jquery_ui_path'] = 'https://source.schokokeks.org/external/jquery/jquery-ui-1.10.0/';
38 39
 
39 40
 ini_set('error_reporting','On');
40 41
 
Browse code

Updated copyright notice (2012 => 2013)

Bernd Wurst authored on 19/01/2013 10:49:50
Showing 1 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 /*
3 3
 This file belongs to the Webinterface of schokokeks.org Hosting
4 4
 
5
-Written 2008-2012 by schokokeks.org Hosting, namely
5
+Written 2008-2013 by schokokeks.org Hosting, namely
6 6
   Bernd Wurst <bernd@schokokeks.org>
7 7
   Hanno Böck <hanno@schokokeks.org>
8 8
 
Browse code

Added license tags for CC0, README and COPYING

Bernd Wurst authored on 11/03/2012 15:40:04
Showing 1 changed files
... ...
@@ -1,4 +1,18 @@
1 1
 <?php
2
+/*
3
+This file belongs to the Webinterface of schokokeks.org Hosting
4
+
5
+Written 2008-2012 by schokokeks.org Hosting, namely
6
+  Bernd Wurst <bernd@schokokeks.org>
7
+  Hanno Böck <hanno@schokokeks.org>
8
+
9
+To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
10
+
11
+You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see 
12
+http://creativecommons.org/publicdomain/zero/1.0/
13
+
14
+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.
15
+*/
2 16
 
3 17
 global $config;
4 18
 $config = array();
Browse code

Session-Name aus einer Config-Variablen ziehen

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1831 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 06/10/2010 08:27:03
Showing 1 changed files
... ...
@@ -19,6 +19,7 @@ $config['logging'] = LOG_ERR;
19 19
 
20 20
 $config['mime_type'] = 'application/xhtml+xml';
21 21
 
22
+$config['session_name'] = 'CONFIG_SCHOKOKEKS_ORG';
22 23
 $config['theme'] = 'default';
23 24
 
24 25
 ini_set('error_reporting','On');
Browse code

Neue Config-Variable für theme

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1814 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 18/09/2010 13:49:26
Showing 1 changed files
... ...
@@ -19,6 +19,7 @@ $config['logging'] = LOG_ERR;
19 19
 
20 20
 $config['mime_type'] = 'application/xhtml+xml';
21 21
 
22
+$config['theme'] = 'default';
22 23
 
23 24
 ini_set('error_reporting','On');
24 25
 
Browse code

Logger mit Logleveln

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1466 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 14/09/2009 13:31:08
Showing 1 changed files
... ...
@@ -14,7 +14,7 @@ $config['use_cracklib'] = true;
14 14
 $config['cracklib_dict'] = 'inc/cracklib_dict';
15 15
 
16 16
 $config['enable_debug'] = true;
17
-$config['logging'] = true;
17
+$config['logging'] = LOG_ERR;
18 18
 
19 19
 
20 20
 $config['mime_type'] = 'application/xhtml+xml';
Browse code

Logging konfigurierbar

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@734 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 30/10/2007 13:47:47
Showing 1 changed files
... ...
@@ -14,6 +14,7 @@ $config['use_cracklib'] = true;
14 14
 $config['cracklib_dict'] = 'inc/cracklib_dict';
15 15
 
16 16
 $config['enable_debug'] = true;
17
+$config['logging'] = true;
17 18
 
18 19
 
19 20
 $config['mime_type'] = 'application/xhtml+xml';
Browse code

MIME-Type konfigurierbar

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@696 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 11/10/2007 08:15:16
Showing 1 changed files
... ...
@@ -16,6 +16,9 @@ $config['cracklib_dict'] = 'inc/cracklib_dict';
16 16
 $config['enable_debug'] = true;
17 17
 
18 18
 
19
+$config['mime_type'] = 'application/xhtml+xml';
20
+
21
+
19 22
 ini_set('error_reporting','On');
20 23
 
21 24
 ?>
Browse code

cracklib ausschaltbar machen

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@622 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 13/08/2007 13:14:03
Showing 1 changed files
... ...
@@ -10,6 +10,7 @@ $config['db_pass'] = 'password';
10 10
 
11 11
 $config['modules'] = array("index", "domains", "imap", "mysql", "jabber", "vhosts", "register", "systemuser", "su");
12 12
 
13
+$config['use_cracklib'] = true;
13 14
 $config['cracklib_dict'] = 'inc/cracklib_dict';
14 15
 
15 16
 $config['enable_debug'] = true;
Browse code

Beispiel-Config

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@578 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 30/07/2007 21:06:10
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,20 @@
1
+<?php
2
+
3
+global $config;
4
+$config = array();
5
+
6
+$config['db_host'] = ':/var/run/mysqld/mysqld-sys.sock';
7
+$config['db_user'] = 'username';
8
+$config['db_pass'] = 'password';
9
+
10
+
11
+$config['modules'] = array("index", "domains", "imap", "mysql", "jabber", "vhosts", "register", "systemuser", "su");
12
+
13
+$config['cracklib_dict'] = 'inc/cracklib_dict';
14
+
15
+$config['enable_debug'] = true;
16
+
17
+
18
+ini_set('error_reporting','On');
19
+
20
+?>