Documentation

Settings

List of settings

Detail description of settings

Header: Allows users to self-register
ID: new_user_registration
Description: If this parameter is checked (equals to "Y"), then the "Registration" link
/main/auth/authorize.php,
/main/auth/authorize_registration.php
will be available in the standard components.
By default: Y
Header: Add to group upon registration.
ID: new_user_registration_def_group
Description: In this parameter you can specify the groups which a newly registered user will join automatically (when calling CUser::Register, CUser::SimpleRegister functions).
By default: 2 ('Everyone' group)
Header: Permit storage of authorization data.
ID: store_password
Description: If this parameter is checked (equals to "Y"), then the user authorization will be saved in his/her cookie files, when "Remember on this computer" flag is checked at the moment of authorization. This parameter is also used in standard components
/main/auth/authorize.php,
/main/auth/auth_form.php,
/main/auth/authorize_registration.php
to show/hide the flag "Remeber me on this computer".
By default: Y
Header: Use secure authorization storage in cookies
ID: use_secure_password_cookies
Description: If the "Enable secure authorization storage" is checked (equals to "Y"), this parameter will manage the type of cookie variable that will store information necessary for authorization. If the value of this parameter equals to "Y", then the authorization cookie will be specified with the flag 'secure'; it means that the user will be able to automatically get authorized at the site only if he/she enters it via secure HTTPS protocol.
By default: N
Header: E-mail or list of e-mail addresses, separated by comma, for all outgoing messages to be duplicated to.
ID: all_bcc
Description: E-mail or comma-separated e-mail list to duplicate to all outgoing messages.
By default:
Header: Send e-mail event and template IDs inside e-mails.
ID: send_mid
Description: If this parameter is checked (equals to "Y"), the following will be added to the e-mail body at the bottom:
MID: EVENT_ID.TEMPLATE_ID (DATE_EVENT)
Where:
  • EVENT_ID - e-mail event ID
  • TEMPLATE_ID - e-mail template ID
  • DATE_EVENT - date when e-mail event is created
By default: N
Header: Duplicate e-mail address in header.
ID: fill_to_mail
Description: When checked (set to "Y") this parameter duplicates the "To" field to the e-mail header. And when option is enabled, modern mail servers won't be sending email with the error This message is not RFC 5322 compliant. There are multiple To headers.
By default: N
Header: Site administrator e-mail (by default sender)
ID: email_from
Description: Site administrator e-mail is usually stored in this parameter. This e-mail will be available when editing e-mail templates in the #DEFAULT_EMAIL_FROM# field.
By default: "admin@".$_SERVER["SERVER_NAME"]
Header: Convert symbols of new lines from UNIX to Windows format when sending an e-mail
ID: CONVERT_UNIX_NEWLINE_2_WINDOWS
Description: If this parameter is checked as "Y", all the "new line строка" (\n) symbols in the e-mail body will be replaced by the pair of "carriage return"+"new line" (\r\n) symbols.
It is often needed in situations, when a created site was initially based on a Unix-hosting (where a new line is designed by the \n symbol in the boy of of a message in all e-mail templates), and then moved to a Windows hosting (where a new line is designated by the pair of \r\n symbols). Due to the RFC 2822 standard (the standard that regulates creation of new e-mail messages) \n or \r symbols cannot be used separately in the body of a e-mail message; it will cause errors when parsing an e-mail message by the mail server.

Often, a "new line" symbol is designated as LF (line feed), and the "carriage return" symbol is designated as CR.

By default: N (without conversion)
Header: Convert 8-bit symbols in the e-mail header.
ID: convert_mail_header
Description: In accordance with the RFC 2822 standard, in the email header, it is permitted to use only symbols with codes varying from 33 (100001) to 126 (1111110) (in the fields "To", "From", "Subject", "CC", "BCC" and etc.) These are Latin symbols, digits, punctuation marks). These symbols are called 7-bit symbols. Symbols, which codes are higher than this range (starting from code 128) - are called 8-bit and higher bit symbols; their use in the email headers as per the standard RFC 2822 is not permitted and many servers do not support 8-bit symbols in e-mail headers as per this standard.
That's why, if for example, you are using Cyrillic symbols (Russian language) in the header of your e-mails, you need to check this parameter as "Y". It will allow to convert 8-bit symbols into the "MIME base64" encoding, used to transfer binary data in the systems, not supporting 8-bit symbols.
By default: Y (conversion enabled)
Header: Site name.
ID: site_name
Description: By default value for the site name can be specified in this parameter ("Site name" field in the site settings). It is used, as a rule, in e-mail templates in the #SITE_NAME# field.
By default: equals to the value of standard PHP variable $_SERVER["SITE_NAME"]
Header: Site URL (without http://). For example: www.mysite.com
ID: server_name
Description: By default value for the site URL can be specified in this parameter ("server URL" field in the site settings). It is used, as a rule, in e-mail templates in the #SERVER_NAME# field.
By default: equals to the value of standard PHP variable $_SERVER["SERVER_NAME"]
Header: Server, containing updates.
ID: update_site
Description: Server URL that contains updates.
By default: www.bitrixsoft.com
Header: Cookies prefix name
ID: cookie_name
Description: Names prefix for the cookie variables, defined by this portal.
By default: BITRIX_SM
Header: Default upload folder.
ID: upload_dir
Description: Any subdirectory of the DocumentRoot catalogue that will store all files, uploaded to the server and saved by the CFile::SaveFile function. This parameter is widely used in functions of the CFile class. As a rule, "Uploaded files" term denotes all files, uploaded via HTML forms, except for the files, which can be uploaded into any catalogue via the "Sitemap" menu -> "Control" -> "Upload file".
By default: upload
Header: Send status 200 for error 404 in the header.
ID: header_200
Description: If this parameter is checked (equals to "Y"), then, when error 404 (page not found) occurs on server, status 200 (page found) will be sent out. As a rule, this parameter is specified for indexing web robots of the search systems when creating services on a site that are based on 404 error. For example, to create "good-looking addresses" without parameters (for example, /news/345.php). Its also called friendly URL (URLs that can be easily understood).
By default: Y
Header: Type of menu for zero level of site map.
ID: map_top_menu_type
Description: This parameter is used by the standard component /main/map/default.php that gets a sitemap. It stores the type of menu via which the entry sitemap level will be built.
By default: top
Header: Type of menu for other levels of site map.
ID: map_left_menu_type
Description: This parameter is used by the standard component /main/map/default.php that gets a sitemap. It stores type of menu via which the branch sitemap levels will be built (after entry level).
By default: left
Header: Error report mode
ID: error_reporting
Description: This parameter is used in the service portion of prologue to specify level of error messages and PHP warnings.
By default: Only errors (E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR|E_PARSE)
Header: Global authorization for all site domains.
ID: auth_multisite
Description: If this parameter is checked (equals to "Y"), then the user authorization (stored in cookie or the current session) will be applied to all sites and domains of the portal.
By default: N
Header: Save original names of uploaded files.
ID: save_original_file_name
Description: If this parameter is checked (equals to "Y"), then all names of all uploaded files will be saved without modifications. Otherwise, these names will be converted into unique names via hash function MD5.
By default: N
Header: Automatically replace invalid symbols in the uploaded filenames.
ID: convert_original_file_name
Description: If this parameter is checked (equals to "Y"), then all invalid symbols, except for Latin characters, digits, dash (-), underscore (_), period (.) will be converted into random valid symbols.
By default: Y
Header: Closing public section
ID: site_stopped
Description: Close the site public section. Possible values: "Y" (public section is closed) and "N" (public section is opened).
By default: N


© «Bitrix24», 2001-2024
Up