?
Current Path : /var/softaculous/phpwcms/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //var/softaculous/phpwcms/conf.inc.php |
<?php // database values $phpwcms['db_host'] = '[[softdbhost]]'; $phpwcms['db_port'] = 3306; $phpwcms['db_user'] = '[[softdbuser]]'; $phpwcms['db_pass'] = '[[softdbpass]]'; $phpwcms['db_table'] = '[[softdb]]'; $phpwcms['db_prepend'] = '[[dbprefix_]]'; $phpwcms['db_pers'] = 1; $phpwcms['db_charset'] = 'utf8mb4'; $phpwcms['db_collation'] = 'utf8mb4_general_ci'; $phpwcms['db_version'] = '[[dbserversion]]'; $phpwcms['db_timezone'] = ''; // SET MySQL session time zone https://dev.mysql.com/doc/refman/5.5/en/time-zone-support.html $phpwcms['db_sql_mode'] = 'NO_ENGINE_SUBSTITUTION'; // SET MySQL session time zone https://dev.mysql.com/doc/refman/5.5/en/sql-mode.html#sql-mode-setting $phpwcms['db_errorlog'] = false; // Log DB queries - false|true // site values $phpwcms['site'] = ''; // leave empty to auto configure or try 'http://'.$_SERVER['SERVER_NAME'].'/' $phpwcms['site_ssl_mode'] = 0; // turns the SSL Support of WCMS on (1) or off (0), default value 0 $phpwcms['site_ssl_url'] = ''; // URL assigned to the SSL Certificate. Recommend 'https://'.$_SERVER['SERVER_NAME'].'/' $phpwcms['site_ssl_port'] = 443; // The Port on which you SSL Service serve the secure Sites, default SSL port is 443 $phpwcms['admin_name'] = '[[admin_realname]]'; //default: Webmaster $phpwcms['admin_user'] = '[[admin_username]]'; //default: admin $phpwcms['admin_pass'] = '[[admin_pass]]'; //MD5(phpwcms) $phpwcms['admin_email'] = '[[admin_email]]'; //default: noreplay@host // paths $phpwcms['DOC_ROOT'] = $_SERVER['DOCUMENT_ROOT'];// current DOC_ROOT seems to be: '[[DOC_ROOT]]' $phpwcms['root'] = '[[relativeurl_]]'; //default: '' $phpwcms['file_path'] = 'filearchive'; //default: 'filearchive' $phpwcms['templates'] = 'template'; //default: 'template' $phpwcms['content_path'] = 'content'; //default: 'content' $phpwcms['cimage_path'] = 'images'; //default: 'images' $phpwcms['ftp_path'] = 'upload'; //default: 'upload' $phpwcms['ads_path'] = 'marketing'; // it's the former 'ads' dir in '/content' // content values $phpwcms['file_maxsize'] = 52428800; //Bytes (50 x 1024 x 1024) $phpwcms['content_width'] = 978; //max width of the article content column - important for rendering multi column images $phpwcms['img_list_width'] = 100; //max with of the list thumbnail image $phpwcms['img_list_height'] = 75; //max height of the list thumbnail image $phpwcms['img_prev_width'] = 978; //max width of the large preview image $phpwcms['img_prev_height'] = 734; //max height of the large preview image $phpwcms['max_time'] = 1800; //logout after max_time/60 seconds $phpwcms['responsive'] = 1; // 0 max. image width = $phpwcms['content_width'], 1 = as given $phpwcms['preserve_image_name'] = 0; // keep file name for resized versions of the image // other stuff $phpwcms['image_library'] = 'GD2'; //GD, GD2, ImageMagick, GraphicsMagick or GM, NetPBM $phpwcms['library_path'] = ''; //Path to ImageMagick or NetPBM $phpwcms['rewrite_url'] = 1; // whether URL should be rewritable $phpwcms['rewrite_ext'] = '.html'; // The extension for URL ReWrite, '.html' -> /alias.html, '/' -> /alias/ $phpwcms['alias_allow_slash'] = 1; // Allow slashes / in ALIAS $phpwcms['alias_allow_utf8'] = 1; // If charset is utf-8 special chars will survive alias checking $phpwcms['wysiwyg_editor'] = 1; //0 = no wysiwyg editor, 1 = CKEditor 4 $phpwcms['allowed_lang'] = array('en','de','fr','es'); //array of allowed languages: array('en', 'de', 'fr', 'es') $phpwcms['use_content_lang'] = false; // if true use content language based on article and/or structure level $phpwcms['be_lang_parse'] = false; // to disable backend language parsing use false, otherwise 'BBCode' or 'BraceCode' $phpwcms['DOCTYPE_LANG'] = ''; //by default same as $phpwcms['default_lang'], but can be injected by whatever you like $phpwcms['default_lang'] = '[[language]]'; //default language $phpwcms['charset'] = 'utf-8'; //default charset 'utf-8' $phpwcms['php_charset'] = false; // set PHP default charset to $phpwcms['charset'] $phpwcms['allow_remote_URL'] = 1; //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed $phpwcms['jpg_quality'] = 85; //JPG Quality Range 25-100 $phpwcms['webp_enable'] = 1; // Render all images as WebP if the client browser supports it $phpwcms['webp_quality'] = 85; // Set the WebP quality, 0-100 $phpwcms['resize_animated_gif'] = true; // Try to resize animated GIF, this can lead to bigger file sizes $phpwcms['sharpen_level'] = 1; //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0 = no, 5 = extra sharp $phpwcms['allow_ext_init'] = 1; //allow including of custom external scripts at frontend initialization $phpwcms['allow_ext_render'] = 1; //allow including of custom external scripts at frontend rendering $phpwcms['cache_enabled'] = 0; //cache On/Off - 1 = caching On / 0 = caching Off (default) $phpwcms['cache_timeout'] = 0; //default cache timeout setting in seconds - 0 = caching Off $phpwcms['imgext_disabled'] = ''; //comma seperated list of imagetypes which should not be handled 'pdf,ps' $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 $phpwcms['inline_download'] = 1; //1 = try to display download documents in new window; 0 = show safe under dialog $phpwcms['sanitize_dlname'] = 0; // if there are problems downloading files with special chars in name try to enable this setting $phpwcms['form_tracking'] = 1; //make a db entry for each form $phpwcms['formmailer_set'] = array('allow_send_copy' => 0, 'global_recipient_email' => 'mail@example.com'); //for better security handling $phpwcms['allow_cntPHP_rt'] = 0; //allow PHP replacement tags and includes in content parts $phpwcms['GETparameterName'] = 'id'; //must have a minimum of 2 chars $phpwcms['BOTS'] = array('googlebot', 'msnbot', 'bingbot', 'baiduspider', 'yandex', 'sosospider', 'ia_archiver', 'altavista', 'slurp', 'yahoo', 'jeeves', 'teoma', 'lycos', 'crawler'); //don't start session $phpwcms['mode_XHTML'] = 3; // Doctype: 1 = XHTML 1.0 Transitional, 0 = HTML 4.01 Transitional, 2 = XHTML 1.0 Strict, 3 = HTML5 $phpwcms['header_XML'] = 0; // Content Type: 1 = application/xhtml+xml, 0 = text/html $phpwcms['IE7-js'] = 0; // load IE7-js - fix for HTML/CSS/PNG bugs in IE $phpwcms['php_timezone'] = ''; // overwrite PHP default time zone http://php.net/manual/en/timezones.php $phpwcms['wysiwyg_template'] = array(); // deprecated $phpwcms['GET_pageinfo'] = 0; // will add "&pageinfo=/cat1/cat2/page-title.htm" based on the breadcrumb information for each site link $phpwcms['version_check'] = 1; // checks for current release of phpwcms online $phpwcms['SESSION_FEinit'] = 0; // set 1 to enable sessions in frontend, 0 to disable sessions in frontend $phpwcms['Login_IPcheck'] = 0; $phpwcms['frontend_edit'] = 0; // enable content specific direct links - linking direct into the backend $phpwcms['gd_memcheck_off'] = 0; // disable GD php memory check before resize an image $phpwcms['enable_chat'] = 0; // enable or disable chat function, by default it is disabled - not recommend anymore to use it $phpwcms['enable_messages'] = 0; // enable or disable internal messags, by default it is disabled - not recommend anymore to use it $phpwcms['enable_seolog'] = 1; // enable or disable logging of search engine referrer data $phpwcms['i18n_parse'] = 1; // enable|disable browser based language parser - all @@Text@@ will be parsed and checked for translation/var based replacement $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'... $phpwcms['FCK_FileBrowser'] = 1; // enable|disable phpwcms Filebrowser in FCKeditor instead of built-in FCK file bowser support $phpwcms['feuser_regkey'] = 'FEUSER'; $phpwcms['login.php'] = 'login.php'; $phpwcms['js_lib'] = array(); // extends default lib settings array('jquery'=>'jQuery 1.3','mootools-1.4'=>'MooTools 1.4','mootools-1.1'=>'MooTools 1.1); $phpwcms['video-js'] = ''; // can be stored locally too 'template/lib/video-js/ (https://vjs.zencdn.net/8.0.4/) $phpwcms['render_device'] = 0; // allow user agent specific rendering templates <!--if:mobile-->DoMobile<!--/if--><!--!if:mobile-->DoNotMobile<!--/!if--><!--!if:default-->Default<!--/!if--> $phpwcms['detect_pixelratio'] = 0; // will inject the page with JavaScript to detect Retina devices $phpwcms['im_fix_colorspace'] = 'RGB'; // newer ImageMagick installs tend to have problems with colorspace setting, if colors are look bad try SRGB $phpwcms['wkhtmltopdf_path'] = ''; // used for generating PDF, use full path including application name '/usr/bin/wkhtmltopdf' $phpwcms['render_clean_html'] = 0; // clean up HTML source a bit, experimental can have unexpected side effects $phpwcms['browser_check'] = array('fe' => false, 'be' => false, 'vs' => '', 'insecure' => true, 'required' => ''); // enable Browser Update check in frontend and/or backend, use 'vs' to which browser version, see http://www.browser-update.org/index.html#install $phpwcms['usergroup_support'] = false; // set true or false to support/disable this feature, is experimental $phpwcms['force301_id2alias'] = false; // send 301 HTTP Redirect when article/structure has alias but ID is given $phpwcms['force301_2struct'] = false; // send 301 HTTP Redirect to structure level when only 1 article is inside $phpwcms['allow_empty_alias'] = false; // do not auto-create (default) alias when alias field is empty $phpwcms['enable_deprecated'] = false; // enable/disable deprecated functionality, enable if you miss things $phpwcms['reserved_alias'] = array(); // use this to block custom alias $phpwcms['canonical_off'] = false; // disable canonical link tag $phpwcms['viewport'] = 'width=device-width, initial-scale=1'; // set viewport https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag $phpwcms['X-UA-Compatible'] = ''; // what version of Internet Explorer the page should be rendered as, IE=edge, IE=10... $phpwcms['base_href'] = true; // set the <base href=""> tag, use string (URL) or bool TRUE/FALSE $phpwcms['cp_default'] = 0; // set the default CP ID here as used in structure level editor, see http://goo.gl/BVODr $phpwcms['js_in_body'] = 0; // add <script /> direct before </body> instead inside of <head> $phpwcms['set_article_active'] = 1; // activate (1) or disable (0) article by default on create $phpwcms['set_category_active'] = 1; // activate (1) or disable (0) category/structure level by default on create $phpwcms['set_file_active'] = 1; // activate (1) sor disable (0) files and folders by default on create $phpwcms['set_news_active'] = 1; // activate (1) or disable (0) news by default on create $phpwcms['log_404error'] = false; // log each 404 for redirect edit $phpwcms['set_sociallink'] = array('article' => false, 'articlecat' => false, 'news' => false, 'shop' => false, 'render' => true); // TRUE/FALSE to enable status for article/articlecat/news/shop by default, render TRUE/FALSE to enable/disable in frontend $phpwcms['header_comment'] = ''; $phpwcms['cnt_sort'] = 'a-z'; // not set or empty or false like before; 'a-z' or reverse 'z-a' $phpwcms['cmsimage_redirect'] = false; // redirect to the resized/cropped image if true $phpwcms['disable_next_prev'] = false; // https://support.google.com/webmasters/answer/1663744 $phpwcms['allowed_upload_ext'] = 'jpg,jpeg,webp,png,gif,tif,tiff,bmp,pic,psd,eps,ai,svg,pdf,ps,doc,docx,xls,xlsx,ppt,pptx,odt,odm,odg,ods,odp,odf,odc,odb,sxw,sxc,sxi,csv,txt,rtf,html,xml,ini,sql,db,zip,rar,7z,s7z,dmg,bz2,gz,tar,tgz,mkv,webm,vob,ogg,ogv,mov,qt,wmv,mpg,mpeg,mp3,mp4,m4p,flv,f4v,f4p,f4a,f4b'; $phpwcms['enable_inline_php'] = false; // disable [PHP] {PHP…} … by default $phpwcms['parse_html_mode'] = 'before'; // when to parse html: [null|before, after, before+after] frontend render $phpwcms['trash_delete_files'] = false; // set to true if files should be deleted if trash is emptied $phpwcms['cmsimage_settings'] = array(); // to prevent flooding dynamic image resizing set which sizes are allowed only array('500x500x0', '1280x800x1'[, …]), first is used as fallback or 'default' or use 'default'=>'empty' to return empty gif $phpwcms['opengraph_imagesize'] = '1200x630x0'; // customize the open graph image size (Width x Height [x 1 = Crop], use 500x500 as minimum $phpwcms['unregister_getVar'] = array(); // array('myvar1', 'myvar2', …) - if there are custom GET vars that should not be registered for global use in rel_url(), abs_url() $phpwcms['preserve_getVar'] = array(); // phpwcms removes some internal GET vars by default, add the ones that should be preserved https://github.com/slackero/phpwcms/blob/master/include/inc_lib/default.inc.php#L520 $phpwcms['enable_GDPR'] = true; // Try to handle GDPR inside of phpwcms by default (anonymize IP...) $phpwcms['login_autocomplete'] = true; // If true the browser/user can decide to store login/password and/or autofill in credentials $phpwcms['lazy_loading'] = 'lazy'; // Set how images or iframes should be loaded: lazy (recommend), eager (right away) or auto (let browser decide). $phpwcms['disable_generator'] = false; // Disable <meta name="generator"> and header `X-phpwcms-Release` $phpwcms['disable_processed_in'] = false; // Hide header `X-phpwcms-Page-Processed-In` $phpwcms['session.cookie_httponly.off'] = false; // Set this to `true` if the session Cookie should also be accessible by JavaScript $phpwcms['session.cookie_samesite'] = 'Lax'; // Define the Cookie sameSite setting None (deprecated), Lax, Strict, use PHP 7.3+ otherwise it's not or not well supported $phpwcms['remove_empty_get_vars'] = true; // If true all GET parameters without a value except the alias will be deleted // Email specific settings (based on phpMailer) $phpwcms['SMTP_FROM_EMAIL'] = '[[admin_email]]'; // reply/from email address $phpwcms['SMTP_FROM_NAME'] = 'My Name'; // reply/from name $phpwcms['SMTP_HOST'] = 'localhost'; // SMTP server (host/IP) $phpwcms['SMTP_PORT'] = 25; // SMTP server port (default 25) $phpwcms['SMTP_MAILER'] = 'mail'; // mail method: mail (default), smtp, sendmail $phpwcms['SMTP_USER'] = 'user'; // default SMTP login (user) name $phpwcms['SMTP_PASS'] = 'pass'; // default SMTP password $phpwcms['SMTP_SECURE'] = ''; // secure connection, phpMailer options: '', 'ssl' or 'tls' $phpwcms['SMTP_AUTH'] = 0; // SMTP authentication, ON=1/OFF=0 $phpwcms['SMTP_AUTH_TYPE'] = ''; // sets SMTP auth type: LOGIN (default), PLAIN, NTLM, CRAM-MD5 define('PHPWCMS_INCLUDE_CHECK', true);