instead inside of
$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 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);