User Tools

Site Tools


merkalt:configure_file

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
merkalt:configure_file [2012/11/29 10:34] dmitriymerkalt:configure_file [2012/11/29 12:15] (current) dmitriy
Line 9: Line 9:
 Additional configuration options: **$config** array. Additional configuration options: **$config** array.
   *  **general** - different instance settings;   *  **general** - different instance settings;
-      *  **host** - the name of MySQL host to be accessed+     *  menu delimiter (MENU_DELIMITER constant) define the symbol which will be used as menu options delimiter in main (top) and additional (bottom) menus
-      *  **username** - the name of user which has access rights to used DB+     *  "tell a friend" form using switcher (USE_TF_FORM constant) define if "Tell a friend" form will be used or not. If set to //true// makes "Tell a friend" form visible on sendmail page; 
-      *  **password** password for the DB user;+      seed word (SEED_WORD constant) define additional string for MD5 encoding of passed payment data
 +     *  initial number of fields in ‘Tell a friend’ form (SENDMAIL_INIT_TF_FIELDS_AMT constant) define how much fields for friend’s e-mail addresses will appear on sendmail page loading; 
 +      maximal number of fields allowed in ‘Tell a friend’ form (SENDMAIL_MAX_TF_FIELDS_AMT constant) define the limitation for friend’s e-mail fields number on sendmail page, in ‘Tell a friend’ form; 
 +      invoice ID postfix (INVOICE_ID_POSTFIX constant) define the suffix string for invoice identifiers in order to make invoice id unique among all site instances. Therefore the value of this string must be unique for each instance. Currently this string contents three-digits code which will be added to order identifier in order to form unique invoice identifier. For more information see [[merkalt::order_id_format_changed]].
   *  **globalDb** - global database settings;   *  **globalDb** - global database settings;
       *  **host** - the name of MySQL host to be accessed;       *  **host** - the name of MySQL host to be accessed;
Line 64: Line 67:
  
 \\ ** other instance settings ** \\ ** other instance settings **
-  *  menu delimiter (MENU_DELIMITER constant) define the symbol which will be used as menu options delimiter in main (top) and additional (bottom) menus; 
   *  discounts are used (USE_DISCOUNTS constant) define using of discounts code and data by site instance; it takes values true or false only;   *  discounts are used (USE_DISCOUNTS constant) define using of discounts code and data by site instance; it takes values true or false only;
   *  color selector is used (USE_COLORS constant) define using color selector for label colorization;   *  color selector is used (USE_COLORS constant) define using color selector for label colorization;
   *  discount coupons system using switcher (USE_COUPONS constant) define if discount coupons system will be used or not. If set to //true// makes coupon code field on main index page visible.    *  discount coupons system using switcher (USE_COUPONS constant) define if discount coupons system will be used or not. If set to //true// makes coupon code field on main index page visible. 
-  *  "tell a friend" form using switcher (USE_TF_FORM constant) define if "Tell a friend" form will be used or not. If set to //true// makes "Tell a friend" form visible on sendmail page; 
   *  project (or instance) name (PROJECT_NAME constant) define alias for instance in order to change process logic (if required, e.g. like for idband);   *  project (or instance) name (PROJECT_NAME constant) define alias for instance in order to change process logic (if required, e.g. like for idband);
   *  fractional prices are used (FRACTIONAL_PRICE constant) set to true if used prices are not integer (like for english version), false otherwise;   *  fractional prices are used (FRACTIONAL_PRICE constant) set to true if used prices are not integer (like for english version), false otherwise;
   *  maximal number of chars in text strings (MAX_TEXT_LENGTH constant) define a warning threshold (by number of characters entered) for text line if motif is added into design;   *  maximal number of chars in text strings (MAX_TEXT_LENGTH constant) define a warning threshold (by number of characters entered) for text line if motif is added into design;
-  *  seed word (SEED_WORD constant) define additional string for MD5 encoding of passed payment data; 
   *  order delivery method (ORDER_DELIVERY_METHOD constant) define the method of order notification delivery. It could take two values only: "log" (order data will be saved to textual log file) or "mail" (order data will be sent to customer and webmaster via e-mail);   *  order delivery method (ORDER_DELIVERY_METHOD constant) define the method of order notification delivery. It could take two values only: "log" (order data will be saved to textual log file) or "mail" (order data will be sent to customer and webmaster via e-mail);
-  *  initial number of fields in ‘Tell a friend’ form (SENDMAIL_INIT_TF_FIELDS_AMT constant) define how much fields for friend’s e-mail addresses will appear on sendmail page loading; 
-  *  maximal number of fields allowed in ‘Tell a friend’ form (SENDMAIL_MAX_TF_FIELDS_AMT constant) define the limitation for friend’s e-mail fields number on sendmail page, in ‘Tell a friend’ form; 
-  *  invoice ID postfix (INVOICE_ID_POSTFIX constant) define the suffix string for invoice identifiers in order to make invoice id unique among all site instances. Therefore the value of this string must be unique for each instance. Currently this string contents three-digits code which will be added to order identifier in order to form unique invoice identifier. For more information see [[merkalt::order_id_format_changed]]. 
  
  
merkalt/configure_file.1354185270.txt.gz · Last modified: (external edit)