// Sponsored by WIEDENMANN SEILE GMBH, http://www.wiedenmannseile.de // // This file is part of Wiedenmann Vacation. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see , // or write to // $_REQUEST['_DEBUG_'] = 1; // -------------------------------------------------- // |||:sec:||| CONFIGURATION // -------------------------------------------------- // All users in $PASSWD_FILE, whose user ID >= $USER_ID_MIN and <= // $USER_ID_MAX are considered: // 1. If the user appears in $ALLOWED_USERS, he is always included // 2. If the HOME directory does not start with $HOME_PFX, the user is ignored // 3. If the user appears in $INVALID_USERS, he is ignored // 4. The user is authorized. // Alle Benutzer in $PASSWD_FILE, deren User ID >= $USER_ID_MIN und <= // $USER_ID_MAX werden in Betracht gezogen: // 1. Falls der Benutzer in $ALLOWED_USERS angegeben ist, wird er immer zugelassen. // 2. Wenn das HOME-Verzeichnis nicht mit $HOME_PFX beginnnt, wird der Benutzer nicht zugelasssen. // 3. Wenn der Benutzer in $INVALID_USERS angegeben ist, wird er nicht zugelasssen. // 4. Der Benutzer wird zugelassen. // User which are always allowed. // If the user appears in $PASSWD_FILE, he is always enabled. $ALLOWED_USERS = Array( ); // Invalid users. // These users are always ignored. $INVALID_USERS = Array( 'clamav', 'elektriker', 'info', 'postman', 'vmail', ); // Administrators can modify the settings of all users. $ADMIN_USERS = Array( 'js', 'sw', 'ws', ); $LANGUAGE = 'en'; $LANGUAGE = 'de'; $PASSWD_FILE = '/etc/passwd'; $SHADOW_FILE = '/etc/shadow'; $HTPASSWD_FILE = '.htpasswd'; $HOME_PFX = '/home/'; $USER_ID_MIN = 1000; $USER_ID_MAX = 60000; $SUDO_CMD = '/usr/bin/sudo'; $SUDO_OPT_H = ' -H'; $WRITE_TO_CMD = dirname(__FILE__) . '/write_to.sh'; $FORMAIL_CMD = '/usr/bin/formail'; $VACATION_CMD = '/usr/bin/vacation'; $VACATION_MSG_FILE = '.vacation.msg'; $VACATION_DB_FILE = '.vacation.db'; $VACATION_FORWARD_ENTRY = sprintf('"| %s -c | %s %%s"', $FORMAIL_CMD, $VACATION_CMD); // use sprintf($VFE, $user); $FORWARD_FILE = '.forward'; $EXPERT_ENABLED = True; $HEADER_REMOVE = Array( 'bcc', 'cc', 'date', 'delivered-to', 'message-id', 'received', 'return-path', 'to', 'user-agent', 'references', 'in-reply-to', ); // // :ide-menu: Emacs IDE Menu - Buffer @BUFFER@ // . M-x `eIDE-menu' ()(eIDE-menu "z") // :ide: COMPILE: PHP _DEBUG_=2 _DEBUG_TEST_=2 // . (compile (concat "php " (file-name-nondirectory (buffer-file-name)) " _DEBUG_=2 _DEBUG_TEST_=2")) // :ide: QUO: $this-> // . (insert "$this->" ) // :ide: COMPILE: PHP w/o args // . (compile (concat "php " (file-name-nondirectory (buffer-file-name)) "")) // :ide: COMPILE: PHP _DEBUG_=1 _DEBUG_TEST_=1 // . (compile (concat "php " (file-name-nondirectory (buffer-file-name)) " _DEBUG_=1 _DEBUG_TEST_=1")) // // Local Variables: // mode: php // End: ?>