From a8a32889cc06a2c8daffc1b27167061379065046 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 17 Nov 2008 17:27:51 -0500
Subject: [PATCH] Create getmail cronjobs only if the getmail user exists.

---
 interface/lib/config.inc.php |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/interface/lib/config.inc.php b/interface/lib/config.inc.php
index 94f0ea4..72ded1f 100644
--- a/interface/lib/config.inc.php
+++ b/interface/lib/config.inc.php
@@ -31,7 +31,7 @@
 
 header('Pragma: no-cache');
 header('Cache-Control: no-store, no-cache, max-age=0, must-revalidate');
-header('Content-Type: text/html');
+header('Content-Type: text/html; charset=utf-8');
 //* TODO: Js caching - pedro
 
 //** Key paramaters
@@ -48,9 +48,10 @@
 define('ISPC_WEB_PATH',    ISPC_ROOT_PATH.'/web');
 define('ISPC_THEMES_PATH', ISPC_ROOT_PATH.'/web/themes');
 
-define('ISPC_TEMP_PATH',   ISPC_ROOT_PATH.'/temp');
+define('ISPC_WEB_TEMP_PATH',   ISPC_WEB_PATH.'/temp'); // Path for downloads, accessible via browser
 define('ISPC_CACHE_PATH',  ISPC_ROOT_PATH.'/cache');
 
+define('ISPC_INTERFACE_MODULES_ENABLED', 'mail,sites,dns,tools');
 
 //********************************************************************************
 //** Future Code idea  - pedro - rfc
@@ -106,6 +107,7 @@
 */
 
 
+
 //**  External programs
 //$conf["programs"]["convert"]	= "/usr/bin/convert";
 $conf['programs']['wput']		= ISPC_ROOT_PATH."\\tools\\wput\\wput.exe";
@@ -113,8 +115,7 @@
 
 //** Themes
 $conf['theme']					= 'default';
-$conf['html_content_encoding']	= 'text/html; charset=iso-8859-1';
-$conf['logo'] 					= 'themes/default/images/mydnsconfig_logo.gif';
+$conf['html_content_encoding']	= 'text/html; charset=utf-8';
 
 //** Default Language
 $conf['language']       = 'en';
@@ -123,6 +124,12 @@
 $conf['start_db']		= true;
 $conf['start_session']	= true;
 
+/*
+        Misc.
+*/
+
+$conf["interface_logout_url"] 	= ""; // example: http://www.domain.tld/
+
 
 //** DNS Settings
 

--
Gitblit v1.9.1