[ Index ] |
PHP Cross Reference of phpwcms V1.4.3 _r380 (23.11.09) |
[Summary view] [Print] [Text view]
1 <?php 2 3 // database values 4 $phpwcms['db_host'] = 'localhost'; 5 $phpwcms['db_user'] = 'db_user'; 6 $phpwcms['db_pass'] = 'db_pass'; 7 $phpwcms['db_table'] = 'db_table'; 8 $phpwcms['db_prepend'] = ''; 9 $phpwcms['db_pers'] = 1; 10 $phpwcms['db_charset'] = 'latin1'; 11 $phpwcms['db_collation'] = 'latin1_general_ci'; 12 $phpwcms['db_version'] = 0; 13 14 // site values 15 $phpwcms['site'] = 'http://'.$_SERVER['SERVER_NAME'].'/'; 16 $phpwcms['admin_name'] = 'Webmaster'; 17 $phpwcms['admin_user'] = 'admin'; 18 $phpwcms['admin_pass'] = 'acf977c1cfa27a463246f6963055cb11'; //MD5 19 $phpwcms['admin_email'] = 'noreply@'.str_replace(array('www.', 'WWW.', '/'), '', $_SERVER["HTTP_HOST"]); 20 21 // paths 22 $ptemp = dirname(__FILE__); 23 $phpwcms['DOC_ROOT'] = empty($_SERVER['DOCUMENT_ROOT']) ? $ptemp : $_SERVER['DOCUMENT_ROOT']; 24 25 $ptemp = dirname($_SERVER['SCRIPT_NAME']); 26 $ptemp = preg_replace('/\/setup$/i','', $ptemp); 27 $ptemp = str_replace("\\", '/', $ptemp); 28 $ptemp = preg_replace('/^\//', '', $ptemp); 29 $ptemp = preg_replace('/\/$/', '', $ptemp); 30 31 $phpwcms['root'] = $ptemp; 32 $phpwcms['file_path'] = 'filearchive'; //default: 'filearchive' 33 $phpwcms['templates'] = 'template'; //default: 'template' 34 $phpwcms['content_path'] = 'content'; //default: 'content' 35 $phpwcms['cimage_path'] = 'images'; //default: 'images' 36 $phpwcms['ftp_path'] = 'upload'; //default: 'upload' 37 38 // content values 39 $phpwcms['file_maxsize'] = 2097152; //Bytes (50 x 1024 x 1024) 40 $phpwcms['content_width'] = 538; //max width of the article content column - important for rendering multi column images 41 $phpwcms['img_list_width'] = 100; //max with of the list thumbnail image 42 $phpwcms['img_list_height'] = 75; //max height of the list thumbnail image 43 $phpwcms['img_prev_width'] = 538; //max width of the large preview image 44 $phpwcms['img_prev_height'] = 400; //max height of the large preview image 45 $phpwcms['max_time'] = 1800; //logout after max_time/60 seconds 46 47 // other stuff 48 $phpwcms['compress_page'] = 0; //wenn 1 = Seite komprimieren, 0 = Kompresion aus 49 $phpwcms['imagick'] = 0; //if 0 = GD, 1 = ImageMagick convert, 2 = ImageMagick 4.2.9 50 $phpwcms['imagick_path'] = ''; //Path to ImageMagick 51 $phpwcms['use_gd2'] = 1; //if 0 = GD1, 1 = GD2 52 $phpwcms['rewrite_url'] = 0; //whether URL should be rewritable 53 $phpwcms['wysiwyg_editor'] = 1; //0 = no wysiwyg editor, 1 = WYSIWYG editor - only CKeditor 54 $phpwcms['phpmyadmin'] = 0; //enable/disable phpmyadmin in Admin section 55 $phpwcms['default_lang'] = 'en'; //default language 56 $phpwcms['DOCTYPE_LANG'] = ''; //by default same as $phpwcms['default_lang'], but can be injected by whatever you like 57 $phpwcms['allowed_lang'] = array('en'); //array of allowed languages: array('en', 'de', 'fr', 'es') 58 $phpwcms['charset'] = 'ISO-8859-1'; //default charset 'iso-8859-1' 59 $phpwcms['allow_remote_URL'] = 0; //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed 60 $phpwcms['gt_mod'] = 0; //0 = Graphical Text MOD disabled, 1 = enabled 61 $phpwcms['jpg_quality'] = 85; //JPG Quality Range 25-100 62 $phpwcms['sharpen_level'] = 1; //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0 = no, 5 = extra sharp 63 $phpwcms['allow_ext_init'] = 1; //allow including of custom external scripts at frontend initialization 64 $phpwcms['allow_ext_render'] = 1; //allow including of custom external scripts at frontend rendering 65 $phpwcms['cache_enabled'] = 0; //cache On/Off - 1 = caching On / 0 = caching Off (default) 66 $phpwcms['cache_timeout'] = 14400; //default cache timeout setting in seconds - 0 = caching Off 67 $phpwcms['imgext_disabled'] = ''; //comma seperated list of imagetypes which should not be handled 'pdf,ps' 68 $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 69 $phpwcms['recipient_count'] = 0; 70 $phpwcms['inline_download'] = 1; //try to open download document in browser window 71 $phpwcms['form_tracking'] = 1; //make a db entry for each form 72 $phpwcms['formmailer_set'] = array('allow_send_copy' => 0, 'global_recipient_email' => 'form@localhost'); //for better security handling 73 $phpwcms['allow_cntPHP_rt'] = 0; //allow PHP replacement tags and includes in content parts 74 $phpwcms['GETparameterName'] = 'id'; //must have a minimum of 2 chars 75 $phpwcms['BOTS'] = array('googlebot', 'msnbot', 'ia_archiver', 'altavista', 'slurp', 'yahoo', 'jeeves', 'teoma', 'lycos', 'crawler'); 76 $phpwcms['mode_XHTML'] = 1; // Doctype: 1 = XHTML 1.0 Transitional, 0 = HTML 4.01 Transitional 77 $phpwcms['header_XML'] = 0; // Content Type: 1 = application/xhtml+xml, 0 = text/html 78 $phpwcms['IE_htc_hover'] = 1; // enables HTC Hover for IE < 7 - has no effect in other browsers 79 $phpwcms['IE_htc_png'] = 1; // enables HTC pngbehavior for IE < 7 - has no effect in other browsers 80 $phpwcms['timezone_GMT'] = '+1'; 81 $phpwcms['Bad_Behavior'] = 1; // enables spam blocking by Bad Behavior 82 $phpwcms['wysiwyg_template'] = array( 'FCKeditor' => 'phpwcms_basic,phpwcms_default,Default,Basic', 'CKEditor' => 'phpwcms_basic,phpwcms_default,Default,Basic' ); 83 $phpwcms['GET_pageinfo'] = 0; // will add "&pageinfo=/cat1/cat2/page-title.htm" based on the breadcrumb information for each site link 84 $phpwcms['version_check'] = 1; // checks for current release of phpwcms online 85 $phpwcms['SESSION_FEinit'] = 0; // set 1 to enable sessions in frontend, 0 to disable sessions in frontend 86 $phpwcms['Login_IPcheck'] = 0; 87 $phpwcms['frontend_edit'] = 0; // enable content specific direct links - linking direct into the backend 88 $phpwcms['gd_memcheck_off'] = 0; // disable GD php memory check before resize an image 89 $phpwcms['enable_chat'] = 0; // enable or disable chat function, by default it is disabled - not recommend anymore to use it 90 $phpwcms['enable_messages'] = 0; // enable or disable internal messags, by default it is disabled - not recommend anymore to use it 91 $phpwcms['enable_seolog'] = 1; // enable or disable logging of search engine referrer data 92 $phpwcms['i18n_parse'] = 1; // enable|disable browser based language parser - all @@Text@@ will be parsed and checked for translation/var based replacement 93 $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"... 94 $phpwcms['FCK_FileBrowser'] = 0; // enable|disable phpwcms Filebrowser in FCKeditor instead of built-in FCK file bowser support 95 $phpwcms['JW_FLV_License'] = ''; // insert your JW FLV Media Player License Code here - License warning will no longer displayed 96 $phpwcms['feuser_regkey'] = 'FEUSER'; 97 $phpwcms['login.php'] = 'login.php'; 98 99 // dynamic ssl encryption engine 100 $phpwcms['site_ssl_mode'] = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0' 101 $phpwcms['site_ssl_url'] = ''; //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. 'https://www.yourdomainhere.tld' 102 $phpwcms['site_ssl_port'] = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443' 103 104 // smtp values 105 $phpwcms['SMTP_FROM_EMAIL'] = ''; // reply/from email address 106 $phpwcms['SMTP_FROM_NAME'] = 'phpwcms webmaster'; // reply/from name 107 $phpwcms['SMTP_HOST'] = ''; // SMTP server (host/IP) 108 $phpwcms['SMTP_PORT'] = 25; // SMTP-Server port (default 25) 109 $phpwcms['SMTP_MAILER'] = 'mail'; // default phpMailer: smtp, mail (default), sendmail 110 $phpwcms['SMTP_AUTH'] = 0; // sets SMTP_AUTH to ON/OFF 111 $phpwcms['SMTP_USER'] = ''; // default SMTP login (user) name 112 $phpwcms['SMTP_PASS'] = ''; // default SMTP password 113 114 115 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Dec 30 05:55:15 2009 | Cross-referenced by PHPXref 0.7 |