Current File : /home/users/kundensystem/www/inc/config.inc.php
<?php
//error_reporting(0); // Fehlermeldungen AUS
//ini_set('display_errors', 1);
//ini_set('display_startup_errors', 1);
//error_reporting(E_ALL);

include 'dbconfig.php';
include 'lc.php';

// Pfad zur index.php (nicht zum Adminbereich)
$indexpfad = 'https://www.demoserver.info/index.php';

###################################################################
$modport = 'port';  // Als Einzelscript oder als Modul verwenden?
// Einzelscript = "port"  -  Modul = "mod"   Bitte Handbuch lesen !
###################################################################

// MySQL-Prefix / Zusatztabellen ----------------------------------
if($modport == 'port')
{
   $db_prefix  = 'Lizenz_';
   $dbtable100 = $db_prefix.'settings';   // AGB, Impressum, (C)...
}
elseif($modport == 'mod')
{
   $db_prefix  = 'linX2_Modul28_';
   $dbtable99  = 'linX2_Modul0_module';   // Modulverwaltung
   $dbtable100 = 'linX2_Modul0_settings'; // AGB, Impressum, (C)...
}

// MySQL Datenbank-Tabellen ---------------------------------------
$dbtable5  = $db_prefix.'partners';
$dbtable8  = $db_prefix.'mails';
$dbtable9  = $db_prefix.'contacts';
$dbtable11  = $db_prefix.'points';
$dbtable12  = $db_prefix.'cards';
$dbtable13  = $db_prefix.'messages';
$dbtable14  = $db_prefix.'index';
$dbtable30  = $db_prefix.'contents';
$dbtable36  = $db_prefix.'block_ip_email';
$dbtable50  = $db_prefix.'system';
$dbtablex001  = $db_prefix.'admin_role';
$ls  = $db_prefix.'ls';
$admin_tb = $db_prefix.'admin_tb';
$cms_table = $db_prefix.'cms';  	

// Ihre eMail Adresse
try{
    $conn = mysqli_connect($db_host, $db_user, $db_pass, $db_name);
    $res = mysqli_query($conn,"SELECT `user_email` FROM ".$admin_tb." WHERE role = '1'");
    $row = mysqli_fetch_row($res);
    $adminemail = $row[0];
    define('ADMINMAIL', $adminemail);
} catch(Exception $e){
}

$license_domains = ['https://lizenzabfrage.de', 'https://kundensystem.cc'];
$admin_pfad = 'admin';

?>