test config
"; // ------------------------------------------------------------------------------------------------------ if (stristr($_SERVER['REQUEST_URI'], 'xmcform') === false) { ini_set("register_globals", 0); ini_set("session.use_cookies", 1); //in httpd.conf ini_set("session.use_only_cookies", 0); //in httpd.conf ini_set("session.use_trans_sid", 1); //in httpd.conf ini_set("session.cookie_lifetime", 0); ini_set("session.cache_limiter", "no_cache"); ini_set("session.cache_expire", "240"); ini_set("session.gc_maxlifetime", "3600"); //ini_set("session.name", "XMC_SID");// - Problem mit XMCform Versand ... daher deaktiviert. } else { @session_start(); if (!in_array(40000, $_SESSION['rechte'])) { // keine Zugriffsberechtigung auf Formularverwaltung header('Location:/index.php'); } else { $_SESSION['logged_in'] = 1; //echo "Admin erkannt - ok
"; } } echo "
test2 config.php
"; // ------------------------------------------------------------------------------------------------------ // neu 5.5 zentrale Steuerung der verwendeten Haupt Module define("USE_UNTERKUNFTMANAGER", true); define("USE_MULTILANGUAGE", true); define("USE_TICKETAPP", true); define("USE_REFERENZMANAGER", true); define("USE_PERSONMANAGER", true); define("USE_SHOPAPP", true); define("USE_PDFMANAGER", true); define("USE_MODULKALENDER", true); define("USE_LOGINAREA", true); define("USE_FLASHGAL", true); define("USE_3DKATALOG", true); define("USE_ANSPRECHPARTNER", true); define("USE_AZ_MANAGER", true); define("USE_XMCFORM", true); define("USE_KONTAKTFORM", true); define("USE_EMAILMASK", true); define("USE_NEWSSYSTEM", true); define("USE_KUNDENMEINUNGEN", true); // ------------------------------------------------------------------------------------------------------ define("PROJECT_DOMAIN", "limes-rhein-lahn.de"); // neu V5.1 DOMAIN wird hier übergreifend konfiguriert define("DEBUG", false); define("META_KEYWORDS", "Rhein Lahn Kreis"); define("META_DESCRIPTION", "Rhein Lahn Kreis"); define("META_COMPANY", "Rhein Lahn Kreis"); define("META_PAGETOPIC", META_DESCRIPTION); define("META_REPLAY_TO", "info@".PROJECT_DOMAIN); define("META_DISTIBUTION", "global"); define("META_REVISITAFTER", "14"); define("META_AUTHOR", META_COMPANY); define("META_PUBLISHER", META_COMPANY); define("SYSTEM_TITLE", "Rhein Lahn Kreis"); define("SYSTEM_TITLE_BLANK", "Rhein Lahn Kreis"); define("SENDMAIL", "/usr/sbin/sendmail -t -i"); /* Datenbank */ define("DB_NAME", "limesDB"); define("DB_SERVER", "localhost"); define("DB_USER", "limesDBA"); define("DB_PASS", "fB7ZAdPHshF5jzxDCfQ3"); /* Datenbank */ /* Googlemaps API */ define("GOOGLE_MAPS_API_KEY", "ABQIAAAAPgc5Lr1KB12R53_zK4LI6RS5ULRKj7K9q0EMLpp77zORZU6TlRRGF1MyGMYH31Dyo-IjOk2wgpeGuA"); /* für Kontaktseite */ define("GOOGLE_LAT_LONG","50.333014931127444, 7.70690381526947"); define("GOOGLE_TARGET_ADRESS","Kreisverwaltung des Rhein-Lahn-Kreises, Insel Silberau 1, 56130 Bad Ems"); /* Googlemaps API */ /* Kernrechte */ define("CS_RECHT_ALLGEMEIN", 18); // Allgemeines Zugriffsrecht auf die ContentSeiten Verwaltung define("CS_RECHT_EDIT", 19); // Recht ContentSeite zu editieren define("CM_RECHT_ALLGEMEIN", 191); // Allgemeines Zugriffsrecht auf die ContentModule Verwaltung define("CS_RECHT_SAVE", 20); // Recht ContentSeite zu speichern define("CM_RECHT_SAVE", 191); // REcht Content Modul zu speichern define("CS_RECHT_DELETE", 21); // Recht ContentSeite zu löschen define("CM_RECHT_DELETE", 191); // Recht ContentSeite zu löschen define("RECHT_DATEIMANAGER", 8001); // Recht ContentSeite zu löschen define("RECHT_MEDIAMANAGER", 8002); // Recht ContentSeite zu löschen /* Kernrechte */ define("BASE_DIR", '/var/www/vhosts/limes-live.de/httpdocs/'); define("IMAGES_DIR", BASE_DIR . 'images/'); define("FILES_DIR", BASE_DIR . 'files/'); define("IMAGES_NEWS_DIR", IMAGES_DIR . 'news/'); define("IMAGES_REF_DIR", IMAGES_DIR . 'refm/'); define("IMAGES_UKT_DIR", IMAGES_DIR . 'unterkuenfte/'); define("INCLUDES_DIR", BASE_DIR . 'includes/'); define("SMARTY_DIR", INCLUDES_DIR . 'lib/smarty/'); define("SMARTY_LOCAL_DIR", INCLUDES_DIR . 'local/smarty/'); define("TEMPLATE_DIR", INCLUDES_DIR . 'templates/main/'); define("CLASS_DIR", INCLUDES_DIR . 'classes/'); define("MODULE_DIR", INCLUDES_DIR . 'modules/'); define("DOMAIN_2REPLACE", ""); define("DOMAIN_BASE", PROJECT_DOMAIN); define("PATH_BASE", "http://www." . PROJECT_DOMAIN . "/"); define("DOMAIN", "http://www." . PROJECT_DOMAIN . ""); define("DOMAIN_SSL", "https://ssl-id1.de/" . PROJECT_DOMAIN . ""); define("PATH_INCLUDES", PATH_BASE . "includes/"); define("PATH_IMAGES_REF", '/images/refm/'); define("PATH_IMAGES_UKT", '/images/unterkuenfte/'); // PAGING: define('PAGING_DEFAULT', 10); define('PAGING_MAX', 100); // Tab Menu Breakpoint // ab dieser Anzahl der Zeichen wird eine neue Zeile für das TAbMenu begonnen define("TAB_MENU_BREAKPOINT", 86); // Variablen für Newsletter: define("MAILSERVER_HOST", PROJECT_DOMAIN); define("MAILSERVER_USERNAME", "info@".PROJECT_DOMAIN.""); define("MAILSERVER_PASSWORT", "VOR37429gt"); define("MAILSERVER_ABSENDERMAIL", "info@".PROJECT_DOMAIN.""); define("MAILSERVER_ABSENDERNAME", "Rhein Lahn Kreis"); define("MAILSERVER_SYSTEMTITEL", "Rhein Lahn Kreis"); // Personmanager Bilder: define("IMAGES_PM_DIR", IMAGES_DIR . 'pm/'); define("PATH_IMAGES_PM", '/images/pm/'); define('PM_THUMB_WIDTH', 135); define('PM_THUMB_HEIGHT', 180); define('PM_IMAGE_WIDTH', 285); define('PM_IMAGE_HEIGHT', 380); // Platzpaten Bilder: define("IMAGES_PP_DIR", IMAGES_DIR . 'platzpaten/'); define("PATH_IMAGES_PP", '/images/platzpaten/'); define('PP_THUMB_WIDTH', 300); define('PP_THUMB_HEIGHT', 200); define('PP_IMAGE_WIDTH', 600); define('PP_IMAGE_HEIGHT', 400); // A-Zmanager Bilder: define("IMAGES_AZM_DIR", IMAGES_DIR . 'azm/'); define("PATH_IMAGES_AZM", '/images/azm/'); define('AZM_THUMB_WIDTH', 250); define('AZM_THUMB_HEIGHT', 180); define('AZM_IMAGE_WIDTH', 600); define('AZM_IMAGE_HEIGHT', 460); // Kalender Bilder: define("IMAGES_CAL_DIR", IMAGES_DIR . 'cal/'); define("PATH_IMAGES_CAL", '/images/cal/'); define('CAL_THUMB_WIDTH', 250); define('CAL_THUMB_HEIGHT', 180); define('CAL_IMAGE_WIDTH', 600); define('CAL_IMAGE_HEIGHT', 460); // Flashheader Bilder: define("IMAGES_FH_DIR", IMAGES_DIR . 'fh/'); define("PATH_IMAGES_FH", '/images/fh/'); define('FH_THUMB_WIDTH', 100); define('FH_THUMB_HEIGHT', 60); define('FH_IMAGE_WIDTH', 750); define('FH_IMAGE_HEIGHT', 390); // Referenzmanager Bilder: /* mode - determines how should the image be resized. The possible values are: '-' -- Resizes image in such a way to fit into rectangle given by desired_width and desired height. X to Y ratio is kept. '+' -- Resizes image in such a way to cover rectangle given by desired_width and desired height. X to Y ratio is kept. '--' Same as '-' mode but resizing will occure only if original image covers the given rectangle. '++' Same as '+' mode but resizing will occure only if original image is smaller than the given rectangle. 'e' or '0' (zero) -- Resizes exactly to dimensions given by desired_width and desired_height. If one of these parameters is set to '*' the corresponding dimension will be not changed. X to Y ratio is not kept! */ define('PAGE_MAX_WIDTH', 1000); // maximale Innenbreite des Contentbereiches. (z.b. für die Anzeige von einem Header TopImage oder einem News TopImage.) define('RM_MODE', "--"); define('RM_THUMB_WIDTH', 250); define('RM_THUMB_HEIGHT', 210); define('RM_IMAGE_WIDTH', 800); define('RM_IMAGE_HEIGHT', 660); // News Bilder: define('NEWS_THUMB_WIDTH', 200); define('NEWS_THUMB_HEIGHT', 170); define('NEWS_IMAGE_WIDTH', 800); define('NEWS_IMAGE_HEIGHT', 660); define('NEWS_FLAT_WIDTH', PAGE_MAX_WIDTH); define('NEWS_FLAT_HEIGHT', 170); // Contentseiten Vorschaubilder: define("IMAGES_CSV_DIR", IMAGES_DIR . 'csv/'); define("PATH_IMAGES_CSV", '/images/csv/'); define('CSV_MODE', "+"); define('CSV_THUMB_WIDTH', 180); define('CSV_THUMB_HEIGHT', 120); define('CSV_IMAGE_WIDTH', PAGE_MAX_WIDTH-20); define('CSV_IMAGE_HEIGHT', 660); define('SUBSITELISTE_STYLE_DEFAULT','subsites_textlist'); // Standard Anzeigeart für die Auflistung von Unterseiten in einer Seite. // Contentseiten TOPimages: define("IMAGES_CSTI_DIR", IMAGES_DIR . 'csti/'); define("PATH_IMAGES_CSTI", '/images/csti/'); //define('CSTI_MODE', "--"); // gibt es nicht ist automatisch immer FLAT... define('CSTI_THUMB_WIDTH', 10); // wird zwar erzeugt ist aber für das Topimage nicht von Bedeutung, daher herabgesetzt auf 10px; define('CSTI_THUMB_HEIGHT', 10); // "" define('CSTI_IMAGE_WIDTH', 10); // "" define('CSTI_IMAGE_HEIGHT', 10); // "" define('CSTI_FLAT_WIDTH', 752); define('CSTI_FLAT_HEIGHT', 222); // PDFmanager Bilder und PDFs: define("FILES_PDF_DIR", FILES_DIR . 'pdf/'); define("IMAGES_PDF_DIR", IMAGES_DIR . 'pdf/'); define("PATH_IMAGES_PDF", PATH_BASE . 'images/pdf/'); define("PATH_FILES_PDF", PATH_BASE . 'files/pdf/'); define('PDF_THUMB_WIDTH', 150); define('PDF_THUMB_HEIGHT', 213); define('PDF_IMAGE_WIDTH', 285); define('PDF_IMAGE_HEIGHT', 380); // 3DKatalog Bilder und PDFs: define("FILES_KATALOG3D_DIR", FILES_DIR . 'katalog3d/'); define("IMAGES_KATALOG3D_DIR", IMAGES_DIR . 'katalog3d/'); define("PATH_IMAGES_KATALOG3D", PATH_BASE . 'images/katalog3d/'); define("PATH_FILES_KATALOG3D", PATH_BASE . 'files/katalog3d/'); define('KATALOG3D_THUMB_WIDTH', 150); define('KATALOG3D_THUMB_HEIGHT', 212); define('KATALOG3D_IMAGE_WIDTH', 724); define('KATALOG3D_IMAGE_HEIGHT', 1024); // Bildformatierung define('SIZE_NEWS_IMAGE', 2000000); define('SIZE_IMAGE', 2000000); define('WIDTH_IMAGE', 1024); define('HEIGHT_IMAGE', 768); define('MODE_PATH', 0775); define('MODE_FILE', 0664); // Barrierefreifunktionen - Basiseinstellungen // 1. Schriftgroesse define('BF_FONT_BASESIZE', '0.8'); // 2. Styledatei SW / Farbe define('EMAILADRESS_MASK', 'false'); // true = Emailadressen maskieren, false = nicht maskieren /* MEDIA & FILEMANAGER */ //change this to TRUE if you want user authentication from MySQL, and set the DB settings $loginFromDB = true; //set this to TRUE if you want to save the available files to an xml file for the given user //see dirRoot.php>$myFile = "../export_".$_SESSION['uid']."_".$_SESSION['username'].".xml"; $exportXMLonRefresh = false; define('USERS_TABLE', 'User'); /* MEDIA & FILEMANAGER END */ /* XMC TICKET */ /** Admin user and password **/ define('TICKET_USER','xmccms'); define('TICKET_PASSWORD','cj37dm30fn27dS4DxSS12Aq1'); /* MACHFORM 3 */ /** Admin user and password **/ define('ADMIN_USER','xmccomputer'); define('ADMIN_PASSWORD','RS57T!z8§dua272hvn39d73ncCKf+gj9+ue'); /** Data folder **/ /** Folder settings for your CSS files and upload folder **/ define('DATA_DIR', './data'); //CSS files folder define('UPLOAD_DIR', './data'); //for maximum security, set full path to any folder outside your document root /** File upload limit **/ define('UPLOAD_FILETYPE_ALLOW',''); //allow only these filetypes to be uploaded define('UPLOAD_FILETYPE_DENY','php;php3;php4;php5;phtml;exe;pl;cgi;html;htm;js'); //do not allow these filetypes to be uploaded /** CAPTCHA settings **/ /** To use reCAPTCHA you must get an API key from http://recaptcha.net/api/getkey **/ /*nur für www.xmc-computer.com */ define('RECAPTCHA_PUBLIC_KEY','6LdTScESAAAAAG2hIrxCLlC5e0jT8DfckqAJH_vk'); define('RECAPTCHA_PRIVATE_KEY','6LdTScESAAAAAPzg8D2exvewoA3Nxz2pOQQMnIbd'); /** Set below to 'true' if you prefer to use the internal CAPTCHA implementation instead of reCAPTCHA **/ /** GD extension must be enabled in order to use this option **/ define('USE_INTERNAL_CAPTCHA',true); /** Default notification email settings **/ define('NOTIFICATION_MAIL_FROM','info@'.PROJECT_DOMAIN.''); //default is 'no-reply@yourdomain.com' define('NOTIFICATION_MAIL_FROM_NAME','XMC-CMS www.'.PROJECT_DOMAIN.''); //default is 'XMC-Computer CMS' define('NOTIFICATION_MAIL_SUBJECT','XMC-CMS www.'.PROJECT_DOMAIN.''); //default is '{form_name} [#{entry_no}]' /* EOF MACHFORM */ //include(INCLUDES_DIR . "functions/general.php") ?>sname: limes-rhein-lahn.de