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