Code: Alles auswählen
<?php echo "CMS_HTML[1]"; ?>
Code: Alles auswählen
<?php echo "CMS_HTML[1]"; ?>
Code: Alles auswählen
<?php
//path to contenido, for all inclusions
$contenido_path = "/srv/www/web2/html/contenido/";
$errorfont = "font3";
//fo the language file
$language="de";
/* Required */
$load_lang = "3";
$load_client = "3";
/* Various debugging options */
$frontend_debug["container_display"] = false;
$frontend_debug["module_display"] = false;
$frontend_debug["module_timing"] = false;
/* Set to 1 to brute-force module regeneration */
$force = 0;
?>
Code: Alles auswählen
<?php
//path to contenido, for all inclusions
$contenido_path = "../contenido/";
$errorfont = "font3";
//fo the language file
$language="de";
/* Required: language and client */
$load_lang = "1";
$load_client = "1";
/* idcatart of the newsletter control page */
$newsletteridcatart = 37;
$frontend_debug["container_display"] = false;
$frontend_debug["module_display"] = false;
$frontend_debug["module_timing"] = false;
/*
* Uncomment this to benefit from the "alldebug" functionality :)
if ($HTTP_GET_VARS["alldebug"] == 1)
{
$frontend_debug["container_display"] = true;
$frontend_debug["module_display"] = true;
$frontend_debug["module_timing"] = true;
$force = 1;
}
*/
?>
Code: Alles auswählen
<?php
/******************************************
* File : config.php
* Project : Contenido
* Descr : Defines all general
* variables of Contenido.
*
* © four for business AG
******************************************/
/* Current Contenido Version. You shouldn't change this
value unless you know what you are doing :). The reason
why it is placed in the top of this file is to easier
get out the contenido version. */
$cfg['version'] = "4.4.5";
/* "Workaround" for register_globals=off settings. */
require_once '/srv/www/web2/html/contenido/includes/globals_off.inc.php';
/* Section 1: Path settings
* ------------------------
*
* Path settings which will vary along different
* Contenido settings.
*
* A little note about web and server path settings:
* - A Web Path can be imagined as web addresses. Example:
* http://192.168.1.1/test/
* - A Server Path is the path on the server's hard disk. Example:
* /var/www/html/contenido for Unix systems OR
* c:/htdocs/contenido for Windows systems
*
* Note: If you want to modify the locations of subdirectories for
* some reason (e.g. the includes directory), see Section 8.
*/
/* The root server path to the contenido backend */
$cfg['path']['contenido'] = '/srv/www/web2/html/contenido/';
/* The web server path to the contenido backend */
$cfg['path']['contenido_fullhtml'] = 'http://kultbase.de/contenido/'; // http://kultbase.de/contenido/
/* The root server path where all frontends reside */
$cfg['path']['frontend'] = '/srv/www/web2/html';
/* The root server path to the conlib directory */
$cfg['path']['phplib'] = '/srv/www/web2/html/conlib/';
/* The root server path to the pear directory */
$cfg['path']['pear'] = '/srv/www/web2/html/pear/';
/* The server path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg'] = '/srv/www/web2/html/contenido/external/wysiwyg/spaw/';
/* The web path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg_html'] = ' http://kultbase.de/contenido/external/wysiwyg/spaw/'; // http://kultbase.de/contenido/external/wysiwyg/spaw/
/* Section 2: Database settings
* ----------------------------
*
* Database settings for MySQL. Note that we don't support
* other databases in this release.
*/
/* The prefix for all contenido system tables, usually "con" */
$cfg['sql']['sqlprefix'] = 'con';
/* The host where your database runs on */
$contenido_host = '127.0.0.1';
/* The database name which you use */
$contenido_database = '********';
/* The username to access the database */
$contenido_user = '********';
/* The password to access the database */
$contenido_password = '*******';
/* Section 3: Misc settings
* ----------------------------------
*
* Misc user defined settings.
*/
/* Thumbnail width, in pixels */
$con_cfg['thumb']['width'] = 50;
/* Thumbnail height, in pixels */
$con_cfg['thumb']['height'] = 50;
/* Section 4: Error handling settings
* ----------------------------------
*
* Actually no variables, but important settings
* for error handling and logging.
*/
/* Don't display errors */
ini_set("display_errors",true);
/* Log errors to a file */
ini_set("log_errors",true);
/* The file in which we write the error log */
ini_set("error_log",$cfg["path"]["contenido"]."logs/errorlog.txt");
/* Report all errors except warnings */
error_reporting (E_ALL ^ E_NOTICE);
/* Various base API functions */
require_once ('/srv/www/web2/html/contenido/includes/api/functions.api.general.php');
/* Section 5: Color settings
* ----------------------------------
*
* Color definitions for tables and notifications.
*/
$cfg['color']['table_header'] = '#a9aec2';
$cfg['color']['table_light'] = '#F4F4F7';
$cfg['color']['table_dark'] = '#E8E8EE';
$cfg['color']['table_border'] = '#747488';
$cfg['color']['table_light_offline'] = '#E9E5E5';
$cfg['color']['table_dark_offline'] = '#E2D9D9';
$cfg['color']['notify_error'] = '#660000';
$cfg['color']['notify_warning'] = '#666600';
$cfg['color']['notify_info'] = '#006600';
$cfg['color']['notify'] = '#006600';
/* Section 6: XML Files
* ----------------------------------
*
* Defines the XML navigation files for different languages.
*/
$cfg['lang']['de_DE'] = 'lang_de_DE.xml';
$cfg['lang']['en_US'] = 'lang_en_US.xml';
$cfg['lang']['nl_NL'] = 'lang_nl_NL.xml';
$cfg['lang']['he_HE'] = 'lang_he_HE.xml';
$cfg['lang']['fr_FR'] = 'lang_fr_FR.xml';
$cfg['lang']['it_IT'] = 'lang_it_IT.xml';
/* Section 7: Template Files
* ----------------------------------
*
* Defines the files for different templates
*/
$cfg['templates']['frameset'] = 'frameset.html';
$cfg['templates']['frameset_content'] = 'frameset_content.html';
$cfg['templates']['frameset_menuless_content'] = 'frameset_menuless_content.html';
$cfg['templates']['header'] = 'header.html';
$cfg['templates']['submenu'] = 'submenu.html'; # 2nd layer
$cfg['templates']['subnav'] = 'template.subnav.html'; # 3rd layer
$cfg['templates']['generic_list'] = 'generic_list.html';
$cfg['templates']['generic_select'] = 'template.select.html';
$cfg['templates']['generic_left_top'] = 'template.generic_left_top.html';
$cfg['templates']['generic_menu'] = 'template.generic_menu.html';
$cfg['templates']['generic_subnav'] = 'template.generic_subnav.html';
$cfg['templates']['generic_form'] = 'template.generic_form.html';
$cfg['templates']['generic_table_form'] = 'template.generic_table_form.html';
$cfg['templates']['generic_page'] = 'template.generic_page.html';
$cfg['templates']['left_top'] = 'template.left_top.html';
$cfg['templates']['right_top_blank'] = 'template.right_top_blank.html';
$cfg['templates']['newsletter_left_top'] = 'template.newsletter_left_top.html';
$cfg['templates']['newsletter_menu'] = 'template.newsletter_menu.html';
$cfg['templates']['newsletter_edit'] = 'template.newsletter_edit.html';
$cfg['templates']['recipient_left_top'] = 'template.recipient_left_top.html';
$cfg['templates']['recipient_menu'] = 'template.recipient_menu.html';
$cfg['templates']['recipient_edit'] = 'template.recipient_edit.html';
$cfg['templates']['con_edit_form'] = 'template.con_edit_form.html';
$cfg['templates']['con_str_overview'] = 'template.con_str_overview.html';
$cfg['templates']['con_art_overview'] = 'template.con_art_overview.html';
$cfg['templates']['con_left_top'] = 'template.con_left_top.html';
$cfg['templates']['con_subnav'] = 'template.con_subnav.html';
$cfg['templates']['str_overview'] = 'template.str_overview.html';
$cfg['templates']['upl_left_top'] = 'template.upl_left_top.html';
$cfg['templates']['upl_dirs_overview'] = 'template.upl_dirs_overview.html';
$cfg['templates']['upl_files_overview'] = 'template.upl_files_overview.html';
$cfg['templates']['lay_overview'] = 'template.lay_overview.html';
$cfg['templates']['lay_edit_form'] = 'template.lay_edit_form.html';
$cfg['templates']['mod_overview'] = 'template.mod_overview.html';
$cfg['templates']['mod_edit_form'] = 'template.mod_edit_form.html';
$cfg['templates']['tpl_overview'] = 'template.tpl_overview.html';
$cfg['templates']['tpl_edit_form'] = 'template.tpl_edit_form.html';
$cfg['templates']['style_files_overview'] = 'template.style_files_overview.html';
$cfg['templates']['style_edit_form'] = 'template.style_edit_form.html';
$cfg['templates']['style_left_top'] = 'template.style_left_top.html';
$cfg['templates']['style_new_form'] = 'template.style_new_form.html';
$cfg['templates']['js_files_overview'] = 'template.js_files_overview.html';
$cfg['templates']['js_edit_form'] = 'template.js_edit_form.html';
$cfg['templates']['js_left_top'] = 'template.js_left_top.html';
$cfg['templates']['js_new_form'] = 'template.js_new_form.html';
$cfg['templates']['stat_left_top'] = 'template.stat_left_top.html';
$cfg['templates']['stat_overview'] = 'template.stat_overview.html';
$cfg['templates']['stat_top'] = 'template.stat_top.html';
$cfg['templates']['stat_menu'] = 'template.stat_menu.html';
$cfg['templates']['rights_left_top'] = 'template.rights_left_top.html';
$cfg['templates']['rights_menu'] = 'template.rights_menu.html';
$cfg['templates']['rights_overview'] = 'template.rights_overview.html';
$cfg['templates']['rights_details'] = 'template.rights_details.html';
$cfg['templates']['rights_create'] = 'template.rights_create.html';
$cfg['templates']['log_menu'] = 'template.log_menu.html';
$cfg['templates']['log_main'] = 'template.log_main.html';
$cfg['templates']['left_top_blank'] = 'template.left_top_blank.html';
$cfg['templates']['subnav_blank'] = 'template.subnav_blank.html';
$cfg['templates']['tplcfg_edit_form'] = 'template.tplcfg_edit_form.html';
$cfg['templates']['lang_overview'] = 'template.lang_overview.html';
$cfg['templates']['lang_menu'] = 'template.lang_menu.html';
$cfg['templates']['lang_edit'] = 'template.lang_edit.html';
$cfg['templates']['lang_left_top'] = 'template.lang_left_top.html';
$cfg['templates']['client_menu'] = 'template.client_menu.html';
$cfg['templates']['client_edit'] = 'template.client_edit.html';
$cfg['templates']['client_left_top'] = 'template.client_left_top.html';
$cfg['templates']['mycontenido_settings'] = 'template.mycontenido_settings.html';
$cfg['templates']['mycontenido_overview'] = 'template.mycontenido_overview.html';
$cfg['templates']['mycontenido_start'] = 'template.mycontenido_start.html';
$cfg['templates']['mycontenido_lastarticles'] = 'template.mycontenido_lastarticles.html';
$cfg['templates']['mycontenido_subnav'] = 'template.mycontenido_subnav.html';
$cfg['templates']['grouprights_left_top'] = 'template.grouprights_left_top.html';
$cfg['templates']['grouprights_create'] = 'template.grouprights_create.html';
$cfg['templates']['grouprights_subnav'] = 'template.grouprights_subnav.html';
$cfg['templates']['grouprights_memberlist'] = 'template.grouprights_memberlist.html';
$cfg['templates']['grouprights_memberselect'] = 'template.grouprights_memberselect.html';
$cfg['templates']['grouprights_details'] = 'template.grouprights_details.html';
$cfg['templates']['grouprights_menu'] = 'template.grouprights_menu.html';
$cfg['templates']['grouprights_overview'] = 'template.grouprights_overview.html';
$cfg['templates']['welcome'] = 'template.welcome.html';
$cfg['templates']['info'] = 'template.info.html';
$cfg['templates']['symbolhelp'] = 'template.symbolhelp.html';
$cfg['templates']['systam_variables'] = 'template.system_variables.html';
$cfg['templates']['system_subnav'] = 'template.system_subnav.html';
$cfg['templates']['system_errorreport'] = 'template.system_errorreport.html';
$cfg['templates']['systam_variables_mailattach'] = 'template.system_sysval_mailattach.html';
$cfg['templates']['blank'] = 'template.blank.html';
/* Section 8: Fixed path settings
* ----------------------------------
*
* Defines fixed path variables for various sub-directories,
* and compatibility pathes. Modify them on your own risk!
*/
$cfg['path']['contenido_html'] = '../contenido/';
$cfg['path']['statfile'] = 'statfile/';
$cfg['path']['includes'] = 'includes/';
$cfg['path']['xml'] = 'xml/';
$cfg['path']['images'] = 'images/';
$cfg['path']['classes'] = 'classes/';
$cfg["path"]["cronjobs"] = 'cronjobs/';
$cfg['path']['scripts'] = 'scripts/';
$cfg['path']['styles'] = 'styles/';
$cfg["path"]['plugins'] = 'plugins/';
$cfg['path']['locale'] = 'locale/';
$cfg['path']['frontendtemplate'] = 'external/frontend/';
$cfg['path']['templates'] = 'templates/standard/';
$cfgPath['xml'] = 'xml/';
$cfgPath['xmlroot'] = 'language/';
$con_cfg['PathPlugins'] = "plugins/";
$con_cfg['PathClasses'] = "classes/";
$cfgPathStatfiles="statfile/";
$cfgPathXML = 'xml/';
$cfgPathDoc = "doc/";
$cfgPathImg = "img/";
$cfgPathInc = "includes/";
$cfgPathClasses = "classes/";
$cfgPathJs = "js/";
$cfgPathTpl = "tpl/";
$cfgPathStyle = "styles/contenido.css";
$cfgPathFrontendImg = "img_site/";
$cfgClient['upl']['forbidden'] = '.php|.htaccess|.htpasswd';
$cfgClient['upl']['protected'] = 'img/,pdf/,swf/,zip/';
$con_cfg['PathFrontendTmp'] = 'cache/';
/* Section 9: Cache settings
* ----------------------------------
*
* Caching options
*/
$cfg["cache"]["disable"] = true;
$cfg["cache"]["dir"] = "cache/";
$cfg["cache"]["lifetime"]= 3600;
/* Section 10: Misc settings
* ----------------------------------
*
* Misc settings
*/
/* If you want to measure backend page rendering times, set this
to true */
$cfg["debug"]["rendering"] = false;
/* E-Mail-Address where bug reports will be sent to */
$cfg['bugreport']['targetemail'] = 'bugreport@contenido.de';
/* The available charsets */
$cfg['AvailableCharsets'] = array(
'iso-8859-1',
'iso-8859-2',
'iso-8859-3',
'iso-8859-4',
'iso-8859-5',
'iso-8859-6',
'iso-8859-7',
'iso-8859-8',
'iso-8859-9',
'iso-8859-10',
'iso-8859-11',
'iso-8859-12',
'iso-8859-13',
'iso-8859-14',
'iso-8859-15',
'windows-1250',
'windows-1251',
'windows-1252',
'windows-1257',
'koi8-r',
'big5',
'gb2312',
'utf-8',
'utf-7',
'x-user-defined',
'euc-jp',
'ks_c_5601-1987',
'tis-620',
'SHIFT_JIS'
);
/* Set global vars which are missing on some server configurations */
$HTTP_HOST = $_SERVER['HTTP_HOST'];
$PHP_SELF = $_SERVER['PHP_SELF'];
$QUERY_STRING = $_SERVER["QUERY_STRING"];
/* Don't remove these lines. If you do, you'll break the whole system */
include_once ($cfg["path"]["contenido"].$cfg["path"]["includes"]."cfg_sql.inc.php");
include_once ($cfg["path"]["phplib"] . "prepend.php3");
?>
Code: Alles auswählen
/* The server path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg'] = '/srv/www/web2/html/contenido/external/wysiwyg/spaw/';
/* The web path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg_html'] = ' http://kultbase.de/contenido/external/wysiwyg/spaw/';
Code: Alles auswählen
// http://kultbase.de/contenido/external/wysiwyg/spaw/