config.sample.php
e2f6dbde
 <?php
c208bd90
 /*
 This file belongs to the Webinterface of schokokeks.org Hosting
 
cf54502a
 Written 2008-2018 by schokokeks.org Hosting, namely
c208bd90
   Bernd Wurst <bernd@schokokeks.org>
   Hanno Böck <hanno@schokokeks.org>
 
 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.
 
2626dd47
 You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see
c208bd90
 http://creativecommons.org/publicdomain/zero/1.0/
 
 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.
 */
e2f6dbde
 
 global $config;
 $config = array();
 
f53efe18
 // either...
 $config['db_socket'] = '/var/run/mysqld/mysqld-sys.sock';
 // ... or
 $config['db_host'] = '10.8.0.1';
 $config['db_port'] = 3307;
 // (socket is preferred if both are defined)
 
e2f6dbde
 $config['db_user'] = 'username';
 $config['db_pass'] = 'password';
 
 
 $config['modules'] = array("index", "domains", "imap", "mysql", "jabber", "vhosts", "register", "systemuser", "su");
 
 $config['enable_debug'] = true;
3048f62f
 $config['logging'] = LOG_ERR;
e2f6dbde
 
 
632f5398
 $config['mime_type'] = 'text/html';
7f46312e
 
810f56cc
 $config['session_name'] = 'CONFIG_SCHOKOKEKS_ORG';
bb82918e
 $config['theme'] = 'default';
632f5398
 $config['jquery_ui_path'] = '/external/jquery';
7f46312e
 
2626dd47
 ini_set('display_errors', 'On');