[ Index ] |
PHP Cross Reference of phpwcms V1.4.7 _r403 (01.11.10) |
[Summary view] [Print] [Text view]
1 <?php 2 /************************************************************************************* 3 Copyright notice 4 5 (c) 2002-2010 Oliver Georgi (oliver@phpwcms.de) // All rights reserved. 6 7 This script is part of PHPWCMS. The PHPWCMS web content management system is 8 free software; you can redistribute it and/or modify it under the terms of 9 the GNU General Public License as published by the Free Software Foundation; 10 either version 2 of the License, or (at your option) any later version. 11 12 The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html 13 A copy is found in the textfile GPL.txt and important notices to the license 14 from the author is found in LICENSE.txt distributed with these scripts. 15 16 This script is distributed in the hope that it will be useful, but WITHOUT ANY 17 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 18 PARTICULAR PURPOSE. See the GNU General Public License for more details. 19 20 This copyright notice MUST APPEAR in all copies of the script! 21 *************************************************************************************/ 22 23 // phpwcms base values -> needed in any document 24 25 26 // database values 27 $phpwcms['db_host'] = 'localhost'; 28 $phpwcms['db_user'] = ''; 29 $phpwcms['db_pass'] = ''; 30 $phpwcms['db_table'] = ''; 31 $phpwcms['db_prepend'] = ''; 32 $phpwcms['db_pers'] = 1; 33 $phpwcms['db_charset'] = 'latin1'; 34 $phpwcms['db_collation'] = 'latin1_general_ci'; 35 $phpwcms['db_version'] = 0; 36 37 // site values 38 $phpwcms['site'] = 'http://'.$_SERVER['SERVER_NAME'].'/'; 39 $phpwcms['admin_name'] = 'Webmaster'; 40 $phpwcms['admin_user'] = 'admin'; 41 $phpwcms['admin_pass'] = 'acf977c1cfa27a463246f6963055cb11'; //MD5 42 $phpwcms['admin_email'] = 'noreply@'.str_replace(array('www.', 'WWW.', '/'), '', $_SERVER["HTTP_HOST"]); 43 44 // paths 45 $phpwcms['DOC_ROOT'] = $_SERVER['DOCUMENT_ROOT']; 46 $phpwcms['root'] = ''; 47 $phpwcms['file_path'] = 'filearchive'; 48 $phpwcms['templates'] = 'template'; 49 $phpwcms['content_path'] = 'content'; 50 $phpwcms['cimage_path'] = 'images'; 51 $phpwcms['ftp_path'] = 'upload'; 52 53 // content values 54 $phpwcms['file_maxsize'] = 52428800; //Bytes (50 x 1024 x 1024) 55 $phpwcms['content_width'] = 538; //max width of the article content column - important for rendering multi column images 56 $phpwcms['img_list_width'] = 100; //max with of the list thumbnail image 57 $phpwcms['img_list_height'] = 75; //max height of the list thumbnail image 58 $phpwcms['img_prev_width'] = 538; //max width of the large preview image 59 $phpwcms['img_prev_height'] = 538; //max height of the large preview image 60 $phpwcms['max_time'] = 1800; //nach wieviel Sekunden soll automatischer logout erfolgen? 1800 Sekunden=30Minuten 61 62 // other stuff 63 $phpwcms['compress_page'] = 0; //wenn 1 = Seite komprimieren, 0 = Kompresion aus 64 $phpwcms['imagick'] = 0; //if 0 = GD, 1 = ImageMagick convert, 2 = ImageMagick 4.2.9 65 $phpwcms['imagick_path'] = ''; //Path to ImageMagick 66 $phpwcms['use_gd2'] = 1; //if 0 = GD1, 1 = GD2 67 $phpwcms['rewrite_url'] = 0; //whether URL should be rewritable 68 $phpwcms['wysiwyg_editor'] = 1; //0 = no wysiwyg editor, 1 = CKEditor, 2 = FCKeditor 69 $phpwcms['phpmyadmin'] = 0; //enable/disable phpmyadmin in Admin section 70 $phpwcms['default_lang'] = 'en'; //default language 71 $phpwcms['DOCTYPE_LANG'] = ''; //by default same as $phpwcms['default_lang'], but can be injected by whatever you like 72 $phpwcms['allowed_lang'] = array('en', 'de', 'fr', 'es'); //array of allowed languages 73 $phpwcms['be_lang_parse'] = false; // to disable backend language parsing use false, otherwise 'BBCode' or 'BraceCode' 74 $phpwcms['charset'] = 'ISO-8859-1'; //default charset 'iso-8859-1' 75 $phpwcms['allow_remote_URL'] = 0; //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed 76 $phpwcms['gt_mod'] = 0; //0 = Graphical Text MOD disabled, 1 = enabled 77 $phpwcms['jpg_quality'] = 85; //JPG Quality Range 25-100 78 $phpwcms['sharpen_level'] = 1; //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0 = no, 5 = extra sharp 79 $phpwcms['allow_ext_init'] = 1; //allow including of custom external scripts at frontend initialization 80 $phpwcms['allow_ext_render'] = 1; //allow including of custom external scripts at frontend rendering 81 $phpwcms['cache_enabled'] = 0; //cache On/Off - 1 = caching On / 0 = caching Off (default) 82 $phpwcms['cache_timeout'] = 14400; //default cache timeout setting in seconds - 0 = caching Off 83 $phpwcms['imgext_disabled'] = ''; //comma seperated list of imagetypes which should not be handled 'pdf,ps' 84 $phpwcms['multimedia_ext'] = 'aif,aiff,mov,movie,mp3,mpeg,mpeg4,mpeg2,wav,swf,swc,ram,ra,wma,wmv,avi,au,midi,moov,rm,rpm,mid,midi'; //comma seperated list of file extensiosn allowed for multimedia 85 $phpwcms['recipient_count'] = 0; 86 $phpwcms['inline_download'] = 1; //try to open download document in browser window 87 $phpwcms['form_tracking'] = 1; //make a db entry for each form 88 $phpwcms['formmailer_set'] = array('allow_send_copy' => 0, 'global_recipient_email' => 'mail@example.com'); //for better security handling 89 $phpwcms['allow_cntPHP_rt'] = 0; //allow PHP replacement tags and includes in content parts 90 $phpwcms['GETparameterName'] = 'id'; //must have a minimum of 2 chars 91 $phpwcms['BOTS'] = array('googlebot', 'msnbot', 'bingbot', 'ia_archiver', 'altavista', 'slurp', 'yahoo', 'jeeves', 'teoma', 'lycos', 'crawler'); 92 $phpwcms['mode_XHTML'] = 1; // Doctype: 1 = XHTML 1.0 Transitional, 0 = HTML 4.01 Transitional, 2 = XHTML 1.0 Strict, 3 = HTML5 93 $phpwcms['header_XML'] = 0; // Content Type: 1 = application/xhtml+xml, 0 = text/html 94 $phpwcms['IE_htc_hover'] = 0; // fix IE CSS anomalities 95 $phpwcms['IE_htc_png'] = 0; // IE <7 PNG fix 96 $phpwcms['IE7-js'] = 0; // load IE7-js - fix for HTML/CSS/PMG bugs in IE, will disable IE_htc_hover/IE_htc_png 97 $phpwcms['timezone_GMT'] = '+1'; 98 $phpwcms['Bad_Behavior'] = 0; // enables spam/bot blocking by Bad Behavior 99 $phpwcms['wysiwyg_template'] = array( 'FCKeditor' => 'phpwcms_basic,phpwcms_default,Default,Basic', 'CKEditor' => 'phpwcms,Default,Basic' ); 100 $phpwcms['GET_pageinfo'] = 0; // will add "&pageinfo=/cat1/cat2/page-title.htm" based on the breadcrumb information for each site link 101 $phpwcms['version_check'] = 1; // checks for current release of phpwcms online 102 $phpwcms['SESSION_FEinit'] = 0; // set 1 to enable sessions in frontend, 0 to disable sessions in frontend 103 $phpwcms['Login_IPcheck'] = 0; 104 $phpwcms['frontend_edit'] = 0; // enable content specific direct links - linking direct into the backend 105 $phpwcms['gd_memcheck_off'] = 0; // disable GD php memory check before resize an image 106 $phpwcms['enable_chat'] = 0; // enable or disable chat function, by default it is disabled - not recommend anymore to use it 107 $phpwcms['enable_messages'] = 0; // enable or disable internal messags, by default it is disabled - not recommend anymore to use it 108 $phpwcms['enable_seolog'] = 1; // enable or disable logging of search engine referrer data 109 $phpwcms['i18n_parse'] = 1; // enable|disable browser based language parser - all @@Text@@ will be parsed and checked for translation/var based replacement 110 $phpwcms['i18n_complex'] = 0; // enable|disable the way browser language setting should be used, false = the easier way (always 2 chars "en"), true - "en-gb"... 111 $phpwcms['FCK_FileBrowser'] = 0; // enable|disable phpwcms Filebrowser in FCKeditor instead of built-in FCK file bowser support 112 $phpwcms['JW_FLV_License'] = ''; // insert your JW FLV Media Player License Code here - License warning will no longer displayed 113 $phpwcms['feuser_regkey'] = 'FEUSER'; 114 $phpwcms['login.php'] = 'login.php'; 115 $phpwcms['js_lib'] = array('mootools-1.2' => 'MooTools 1.2', 'mootools-1.1' => 'MooTools 1.1', 'jquery' => 'jQuery 1.3', 'jquery-1.4' => 'jQuery 1.4'); 116 117 // dynamic ssl encryption engine 118 $phpwcms['site_ssl_mode'] = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0' 119 $phpwcms['site_ssl_url'] = ''; //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. 'https://www.yourdomainhere.tld' 120 $phpwcms['site_ssl_port'] = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443' 121 122 // smtp values 123 $phpwcms['SMTP_FROM_EMAIL'] = 'info@localhost'; 124 $phpwcms['SMTP_FROM_NAME'] = 'My Name'; 125 $phpwcms['SMTP_HOST'] = 'localhost'; 126 $phpwcms['SMTP_PORT'] = 25; 127 $phpwcms['SMTP_MAILER'] = 'mail'; 128 $phpwcms['SMTP_AUTH'] = 0; 129 $phpwcms['SMTP_USER'] = 'user'; 130 $phpwcms['SMTP_PASS'] = 'pass'; 131 132 define('PHPWCMS_INCLUDE_CHECK', true); 133 134 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Nov 16 22:51:00 2010 | Cross-referenced by PHPXref 0.7 |