Du bist hier: Startseite > Archiv > TobbiVM > Installation (alt) > 6. config_0.php

6. config_0.php

Die in den Datei config_0.php bis config_5.php (als Vorlage dient die Datei demo.config_0.php) werden die Einstellungen für jeden einzelnen Shop vorgenommen. Diese gelten jeweils für den einzelnen Shop. Die Datei config_0.php steht für den Mastershop.

Hier, wie in allen Konfigurationsdateien, nur die entsprechend gekennzeichneten Stellen an deine Bedingungen anpassen. Der Übersichtlichkeit wegen wird hier die komplette Datei angezeigt.

Die blaue Schrift dient nur der Erklärung einzelner Anpassungen und darf nicht in der eigentlichen Datei stehen und der orange hervorgehobene Text muss entsprechend angepasst werden!

<?php

if (!defined('TOBBIVM'))
    header ('location:/template/notrepassing.php');
/**
 * This file is part of TobbiVMShop.
 *
 * TobbiVMShop 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.
 *
 * TobbiVMShop 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 TobbiVMShop.  If not, see <http://www.gnu.org/licenses/>.
 */
/**
 * Configuration-Class
 *
 * @version    $Id$
 * @package    TobbiVM-Shop
 * @copyright  Copyright (C) 2012
 * @author     Norbert Gebert
 * @license    GPL3
 * @access       public
 */
/**
 * These values ​​must be adapted to your requirements!
 *
 * Database and domain Settings
 */
// @const string TEMPLATE_PATH template-Path
const TEMPLATE_PATH = 'template'; Kann auf deinen, frei wählbaren, Template-Ordner angepasst werden!
// @const string LANGUAGE Language-ID
const LANGUAGE = 'de_DE';
// @const string LANGUAGE Language-name
const LANGUAGE_NAME = 'Deutschland';

/**
 * Mail settings
 * Only SMTP mail servers are used!
 */
// @const string MAIL_HOSTNAME Set the hostname of the mail server
const MAIL_HOSTNAME = 'dein.mailserver.com';
// @const string MAIL_USER Username to use for SMTP authentication
const MAIL_USER = 'Benutzername';
// @const string MAIL_PASSWORD Password to use for SMTP authentication
const MAIL_PASSWORD = 'Benutzerpasswort';
// @const integer MAIL_PORT Set the SMTP port number - likely to be 25, 465 or 587
const MAIL_PORT = 587; Kann in der Regel so bleiben
// @const logical MAIL_AUTH Whether to use SMTP authentication
const MAIL_AUTH = TRUE; Kann in der Regel so bleiben
// @const MAIL_SENDER
const MAIL_SENDER = 'Absende-Mail-Adresse';
// @const MAIL_SENDER_NAME
const MAIL_SENDER_NAME = 'Absendername';
// @const Mail_SEND_REVOCATION Set to TRUE if send with the invoice otherwise FALSE
const Mail_SEND_REVOCATION = TRUE;
// @const MAIL_SEND_TERMS Set to TRUE if send your terms with the invoice otherwise FALSE
const MAIL_SEND_TERMS = TRUE;
// @const MAIL_RECIVER
const MAIL_RECIVER = 'deine@mailadresse.com'; Deine E-Mail-Adresse an die eine Bestellkopie gesendet werden soll
// @const MAIL_ORDER_NAME
const MAIL_ORDER_NAME = 'Domain.com'; Domainname der im Mailheader eingefügt werden soll

/*********************************************/
/*  Don't change the code after this point!  */
/*********************************************/
// @const SUFFIX Setting db-table suffix for client shop
const SUFFIX = '';

Nach der Anpasung der Einträge muss die Datei „demo.config_0.php” in „config_0.php” umbenannt werden.


nach oben