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

(!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 Frontend
*
* @version $Id$
* @package TobbiVM-Shop
* @copyright Copyright (C) 2016-2023
*/
/**
* These values ​​must be adapted to your requirements!
*
* Domain settings
*/
// @const string TEMPLATE_PATH template-Path
const TEMPLATE_PATH = 'template';
// @const string LANGUAGE Language-ID
const LANGUAGE = 'de_DE';
// @const string URL_NAME short url-name for texts
const URL_NAME = 'Domain';
// @const string CANONICAL_URL Standard Canonical URL (SEO!)
const CANONICAL_URL = 'https://YourDomain.de';

/**
* Mail settings for order e.g.
* Only SMTP mail server are used!
*/
// @const string MAIL_HOSTNAME Set the hostname of the mail server
const MAIL_HOSTNAME = 'mailservername';
// @const string MAIL_USER Username to use for SMTP authentication
const MAIL_USER = 'mail@mailservername';
// @const string MAIL_PASSWORD Password to use for SMTP authentication
const MAIL_PASSWORD = 'mailPassword';
// @const integer MAIL_PORT Set the SMTP port number - likely to be 25, 465 or 587
const MAIL_PORT = 25;
// @const logical MAIL_AUTH Whether to use SMTP authentication
const MAIL_AUTH = TRUE;
// @const MAIL_SENDER
const MAIL_SENDER = 'mail@mailservername';
// @const MAIL_SENDER_NAME
const MAIL_SENDER_NAME = 'YourDomain.de';
// @const Mail_SEND_REVOCATION Set to TRUE if send with the invoice
const Mail_SEND_REVOCATION = FALSE; //in later Version!
// @const MAIL_SEND_TERMS Set to TRUE if send your terms with the invoice
const MAIL_SEND_TERMS = FALSE; //in later Version!
// @const MAIL_SEND_TO_CUSTOMER Set to TRUE then Mail send to customer
const MAIL_SEND_TO_CUSTOMER = FALSE;

/**
* Global settings
*/
// @const string IMAGE_EXTENSION List of allowed Imagetype as array
// Upper and lower case are ignored
const IMAGE_EXTENSION = 'gif,jpg,png';
// @const integer MAX_ATTEMPTS Max of custome loginerrrors, then the user set to not active
const CUSTOMER_MAX_ATTEMPTS = 5;
// @const integer CUSTOMER_SESSION_TIME Set session lenght in seconds
const CUSTOMER_SESSION_TIME = 3600;
// Session Save Path
const SESSION_PATH = '/session';
// @const string PHP_TIMEZONE List of Timezones: http://www.php.net/manual/en/timezones.php
const PHP_TIMEZONE = 'Europe/Berlin';
// @const integer PERIOD Period for counter in seconds
const PERIOD = 3600;

/***********************************************************************************************
* Shop settings mail, URL e.g.
*/
// @const string COMPANY_NAME
const COMPANY_NAME = 'Firmenname';
// @const string COMPANY_STREET
const COMPANY_STREET = 'Straßenname';
// @const string COMPANY_CITY
const COMPANY_CITY = 'PLZ und Ort';
// @const string COMPANY_INTERNATIONAL_PHONE
const COMPANY_INTERNATIONAL_PHONE = '99 999999';
// @const string COMPANY_PHONE
const COMPANY_PHONE = '09999 9999';
// @const string COMPANY_FAX
const COMPANY_FAX = '09999 9998';
// @const string COMPANY_EMAIL
const COMPANY_EMAIL = 'mail@mailservername';

/**
* Meta settings
*/
// @const integer META_DESCRIPTION_LENGH, Lengh of Metadescription in Character
const META_DESCRIPTION_LENGH = 100;
// @const integer META_KEYWORD_NUMBER, Number of keywords
const META_KEYWORD_NUMBER = 10;
// @const string TEMPLATE_TITEL Title for The Page
const TEMPLATE_TITEL = 'Standard Title';
// @const string META_DESCRIPTION, Standard if not set in Category/Article
const META_DESCRIPTION = 'Standard Metadescription';
// @const string META_GENERATOR, You can write everythind what you want to deceive Bots etc.
const META_GENERATOR = 'TobbiVM-Shop, a German Shopsystem';

//**************************************************************************************************

/**
* User-Account settings
* First: Settings for account regitration and
* customer adresses
*/
// @const integer COMPANY 0 = Not used, 1 = used, 2 = used AND required
const COMPANY = 1;
// @const integer FIRSTNAME 0 = Not used, 1 = used, 2 = used AND required
const FIRSTNAME = 2;
// @const integer LASTNAME 0 = Not used, 1 = used, 2 = used AND required
const LASTNAME = 2;
// @const integer STREET 0 = Not used, 1 = used, 2 = used AND required
const STREET = 2;
// @const integer ZIP_CODE 0 = Not used, 1 = used, 2 = used AND required
const ZIP_CODE = 2;
// @const integer CITY 0 = Not used, 1 = used, 2 = used AND required
const CITY = 2;
// @const integer PHONE 0 = Not used, 1 = used, 2 = used AND required
const PHONE = 2;
// @const integer FAX 0 = Not used, 1 = used, 2 = used AND required
const FAX = 1;
// @const integer MOBILE 0 = Not used, 1 = used, 2 = used AND required
const MOBILE = 1;
// @const integer EMAIL 0 = Not used, 1 = used, 2 = used AND required
const EMAIL = 2;

// @const string DEFAULT_STATE
const DEFAULT_STATE = 'Deutschland';

/**
* Don't change the code after this point!
*/
// @const string SUFFIX
const SUFFIX = '';

const SECURE_ID = URL_NAME . '-';
const SECURE = '1542148735124951';
// @const integer SMTP_DEBUG Enable SMTP debugging and tests
// 0 = off (for production use)
// 1 = client messages
// 2 = client and server messages
const SMTP_DEBUG = 0;

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


Aktuell

Eine besondere Überraschung kommt in Kürze, zusammen mit der PHP8.x-tauglichen Version!


Noch aktuell

Alle Scripte von TobbiVM benötigen mindestens PHP 8.1! Dringend empfohlen wird hier Version 8.2. Alle Anfragen zu Problemen die unter einer niedrigeren PHP-Version vorkommen werden nicht mehr beantwortet.

nach oben