[ Index ] |
PHP Cross Reference of phpwcms V1.5.0 _r431 (28.01.12) |
[Summary view] [Print] [Text view]
1 <?php 2 /************************************************************************************* 3 Copyright notice 4 5 (c) 2002-2012 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 $phpwcms['db_timezone'] = ''; // set MySQL session time zone http://dev.mysql.com/doc/refman/5.5/en/time-zone-support.html 37 38 // site values 39 $phpwcms['site'] = 'http://'.$_SERVER['SERVER_NAME'].'/'; 40 $phpwcms['admin_name'] = 'Webmaster'; 41 $phpwcms['admin_user'] = 'admin'; 42 $phpwcms['admin_pass'] = 'acf977c1cfa27a463246f6963055cb11'; //MD5 43 $phpwcms['admin_email'] = 'noreply@'.str_replace(array('www.', 'WWW.', '/'), '', $_SERVER["HTTP_HOST"]); 44 45 // paths 46 $phpwcms['DOC_ROOT'] = $_SERVER['DOCUMENT_ROOT']; 47 $phpwcms['root'] = ''; 48 $phpwcms['file_path'] = 'filearchive'; 49 $phpwcms['templates'] = 'template'; 50 $phpwcms['content_path'] = 'content'; 51 $phpwcms['cimage_path'] = 'images'; 52 $phpwcms['ftp_path'] = 'upload'; 53 54 // content values 55 $phpwcms['file_maxsize'] = 52428800; //Bytes (50 x 1024 x 1024) 56 $phpwcms['content_width'] = 538; //max width of the article content column - important for rendering multi column images 57 $phpwcms['img_list_width'] = 100; //max with of the list thumbnail image 58 $phpwcms['img_list_height'] = 75; //max height of the list thumbnail image 59 $phpwcms['img_prev_width'] = 538; //max width of the large preview image 60 $phpwcms['img_prev_height'] = 538; //max height of the large preview image 61 $phpwcms['max_time'] = 1800; //logout after max_time/60 seconds 62 63 // other stuff 64 $phpwcms['image_library'] = 'GD2'; //GD, GD2, ImageMagick, NetPBM 65 $phpwcms['library_path'] = ''; //Path to ImageMagick or NetPBM 66 $phpwcms['rewrite_url'] = 0; //whether URL should be rewritable 67 $phpwcms['wysiwyg_editor'] = 1; //0 = no wysiwyg editor, 1 = CKEditor, 2 = FCKeditor 68 $phpwcms['phpmyadmin'] = 0; //enable/disable phpmyadmin in Admin section 69 $phpwcms['default_lang'] = 'en'; //default language 70 $phpwcms['DOCTYPE_LANG'] = ''; //by default same as $phpwcms['default_lang'], but can be injected by whatever you like 71 $phpwcms['allowed_lang'] = array('en', 'de', 'fr', 'es'); //array of allowed languages 72 $phpwcms['be_lang_parse'] = false; // to disable backend language parsing use false, otherwise 'BBCode' or 'BraceCode' 73 $phpwcms['charset'] = 'utf-8'; //default charset 'utf-8' do not use soemthing different any longer 74 $phpwcms['allow_remote_URL'] = 0; //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed 75 $phpwcms['jpg_quality'] = 85; //JPG Quality Range 25-100 76 $phpwcms['sharpen_level'] = 1; //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0 = no, 5 = extra sharp 77 $phpwcms['allow_ext_init'] = 1; //allow including of custom external scripts at frontend initialization 78 $phpwcms['allow_ext_render'] = 1; //allow including of custom external scripts at frontend rendering 79 $phpwcms['cache_enabled'] = 0; //cache On/Off - 1 = caching On / 0 = caching Off (default) 80 $phpwcms['cache_timeout'] = 14400; //default cache timeout setting in seconds - 0 = caching Off 81 $phpwcms['imgext_disabled'] = ''; //comma seperated list of imagetypes which should not be handled 'pdf,ps' 82 $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 83 $phpwcms['recipient_count'] = 0; 84 $phpwcms['inline_download'] = 1; //try to open download document in browser window 85 $phpwcms['form_tracking'] = 1; //make a db entry for each form 86 $phpwcms['formmailer_set'] = array('allow_send_copy' => 0, 'global_recipient_email' => 'mail@example.com'); //for better security handling 87 $phpwcms['allow_cntPHP_rt'] = 0; //allow PHP replacement tags and includes in content parts 88 $phpwcms['BOTS'] = array('googlebot', 'msnbot', 'bingbot', 'ia_archiver', 'altavista', 'slurp', 'yahoo', 'jeeves', 'teoma', 'lycos', 'crawler'); 89 $phpwcms['mode_XHTML'] = 1; // Doctype: 1 = XHTML 1.0 Transitional, 0 = HTML 4.01 Transitional, 2 = XHTML 1.0 Strict, 3 = HTML5 90 $phpwcms['header_XML'] = 0; // Content Type: 1 = application/xhtml+xml, 0 = text/html 91 $phpwcms['IE7-js'] = 0; // load IE7-js - fix for HTML/CSS/PNG bugs in IE 92 $phpwcms['php_timezone'] = ''; // overwrite PHP default time zone http://php.net/manual/en/timezones.php 93 $phpwcms['wysiwyg_template'] = array( 'FCKeditor' => 'phpwcms_basic,phpwcms_default,Default,Basic', 'CKEditor' => 'phpwcms,Default,Basic' ); 94 $phpwcms['GET_pageinfo'] = 0; // will add "&pageinfo=/cat1/cat2/page-title.htm" based on the breadcrumb information for each site link 95 $phpwcms['version_check'] = 1; // checks for current release of phpwcms online 96 $phpwcms['SESSION_FEinit'] = 0; // set 1 to enable sessions in frontend, 0 to disable sessions in frontend 97 $phpwcms['Login_IPcheck'] = 0; 98 $phpwcms['frontend_edit'] = 0; // enable content specific direct links - linking direct into the backend 99 $phpwcms['gd_memcheck_off'] = 0; // disable GD php memory check before resize an image 100 $phpwcms['enable_chat'] = 0; // enable or disable chat function, by default it is disabled - not recommend anymore to use it 101 $phpwcms['enable_messages'] = 0; // enable or disable internal messags, by default it is disabled - not recommend anymore to use it 102 $phpwcms['enable_seolog'] = 1; // enable or disable logging of search engine referrer data 103 $phpwcms['i18n_parse'] = 1; // enable|disable browser based language parser - all @@Text@@ will be parsed and checked for translation/var based replacement 104 $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"... 105 $phpwcms['FCK_FileBrowser'] = 1; // enable|disable phpwcms Filebrowser in FCKeditor instead of built-in FCK file bowser support 106 $phpwcms['JW_FLV_License'] = ''; // insert your JW FLV Media Player License Code here - License warning will no longer displayed 107 $phpwcms['feuser_regkey'] = 'FEUSER'; 108 $phpwcms['login.php'] = 'login.php'; 109 $phpwcms['rewrite_ext'] = '.html'; // The file extension used while URL is rewritten 110 $phpwcms['js_lib'] = array('mootools-1.4'=>'MooTools 1.4','mootools-1.4-compat'=>'MooTools 1.4 Compat','mootools-1.3'=>'MooTools 1.3','mootools-1.3-compat'=>'MooTools 1.3 Compat','mootools-1.2'=>'MooTools 1.2','mootools-1.1'=>'MooTools 1.1','jquery-1.7'=>'jQuery 1.7','jquery-1.6'=>'jQuery 1.6','jquery-1.5'=>'jQuery 1.5','jquery-1.4'=>'jQuery 1.4','jquery'=>'jQuery 1.3'); 111 $phpwcms['video-js'] = 'http://vjs.zencdn.net/c/'; // can be stored locally too 'template/lib/video-js/ (http://videojs.com/) 112 $phpwcms['render_device'] = 0; // allow user agent specific rendering templates <!--if:mobile-->DoMobile<!--/if--><!--!if:mobile-->DoNotMobile<!--/!if--><!--!if:default-->Default<!--/!if--> 113 114 // dynamic ssl encryption engine 115 $phpwcms['site_ssl_mode'] = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0' 116 $phpwcms['site_ssl_url'] = ''; //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. 'https://www.yourdomainhere.tld' 117 $phpwcms['site_ssl_port'] = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443' 118 119 // smtp values 120 $phpwcms['SMTP_FROM_EMAIL'] = 'info@localhost'; // reply/from email address 121 $phpwcms['SMTP_FROM_NAME'] = 'My Name'; // reply/from name 122 $phpwcms['SMTP_HOST'] = 'localhost'; // SMTP server (host/IP) 123 $phpwcms['SMTP_PORT'] = 25; // SMTP-Server port (default 25) 124 $phpwcms['SMTP_MAILER'] = 'mail'; // default phpMailer: smtp, mail (default), sendmail 125 $phpwcms['SMTP_AUTH'] = 0; // sets SMTP_AUTH to ON/OFF 126 $phpwcms['SMTP_USER'] = 'user'; // default SMTP login (user) name 127 $phpwcms['SMTP_PASS'] = 'pass'; // default SMTP password 128 129 define('PHPWCMS_INCLUDE_CHECK', true); 130 131 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Jan 29 16:31:14 2012 | Cross-referenced by PHPXref 0.7.1 |