merkalt:configure_file
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| merkalt:configure_file [2012/11/29 10:12] – dmitriy | merkalt:configure_file [2012/11/29 12:15] (current) – dmitriy | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| Additional configuration options: **$config** array. | Additional configuration options: **$config** array. | ||
| + | * **general** - different instance settings; | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| * **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 14: | Line 21: | ||
| * **dbname** - the name of used DB; | * **dbname** - the name of used DB; | ||
| * **profiler** - the using of Zend profiler option; | * **profiler** - the using of Zend profiler option; | ||
| + | * **paths** - set of paths used; | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | * **includePaths** - set of core paths used; | ||
| + | | ||
| + | * **url** - list of urls used; | ||
| + | * **notification** - e-mail notifications settings | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | * email_contact_recipients - recipients of contact messages | ||
| + | * **payment_modules** - specific payment modules settings | ||
| + | * paypal - needed for PayPal PDT post-back data verification | ||
| + | * PayPal PDT authentication token (PAYPAL_PDT_AUTH_TOKEN constant) define a string with PDT authentication token, which could be taken from PayPal merchant account settings, when PDT is turned ON; | ||
| * **aWeber** - AWeber system settings; | * **aWeber** - AWeber system settings; | ||
| * **usage** - the flag of using of AWeber system. Could be //true// or //false//. If set to //true//, AWeber sign up check box will appear on main index page, above the order submit button; | * **usage** - the flag of using of AWeber system. Could be //true// or //false//. If set to //true//, AWeber sign up check box will appear on main index page, above the order submit button; | ||
| Line 28: | Line 56: | ||
| * **meta_redirect_onlist** - AWeber form parameter; | * **meta_redirect_onlist** - AWeber form parameter; | ||
| * **logging_results** - the flag of using of AWeber system response logging (**debug aid**); | * **logging_results** - the flag of using of AWeber system response logging (**debug aid**); | ||
| - | |||
| - | * **paths** - set of paths used; | ||
| - | | ||
| - | | ||
| - | | ||
| - | * **includePaths** - set of core paths used; | ||
| - | |||
| - | * **url** - list of urls used; | ||
| ---- | ---- | ||
| Line 43: | Line 63: | ||
| * MySQL coupons tables prefix (COUPONS_TABLES_PREFIX constant) define the prefix for all tables which used by site instance. To share coupon codes against all instances of single site, use the same coupons tables prefix for all site instances. | * MySQL coupons tables prefix (COUPONS_TABLES_PREFIX constant) define the prefix for all tables which used by site instance. To share coupon codes against all instances of single site, use the same coupons tables prefix for all site instances. | ||
| - | * instance virtual path (HOST_PATH) define full instance virtual path (e.g. ' | ||
| - | * libraries absolute path (LIBRARIES_ABSOLUTE_PATH) define path to libraries modules; | ||
| - | * affiliate programs modules location (AFFILIATES_MODULES_PATH constant) define relative path to affiliate programs modules location. Each affiliate program which used in system have own module realizing affiliate code functional. All these modules location is defined with a help of this setting; | ||
| - | * affiliate programs templates location (AFFILIATES_TEMPLATES_ABSOLUTE_PATH constant) define the location of affiliate code templates which used by corresponding affiliate programs modules; | ||
| - | * ajax scripts relative path (AJAX_RELATIVE_PATH constant) define path to ajax scripts in relation to instance subfolder; | ||
| - | * javascript library relative path (JSLIB_RELATIVE_PATH constant) define path to javascripts library in relation to instance subfolder; | ||
| - | * motifs folder absolute path (MOTIFS_ABSOLUTE_PATH constant) define absolute path to instance motifs folder; | ||
| - | * motifs folder relative path (MOTIFS_RELATIONAL_PATH constant) define relative path to instance motifs folder; | ||
| - | \\ ** e-mail settings ** | ||
| - | * name of e-mail sender (EMAIL_SENDER constant) define the name which will be shown as author (or origin) of e-mail (e.g. ' | ||
| - | * address of e-mail sender (EMAIL_SENDER_ADDR constant) define e-mail address which will be shown as address of author (or origin) (e.g. ' | ||
| - | * subject of customer e-mail (EMAIL_CUSTOMER_SUBJECT constant) define subject string of customer e-mail (e.g. ' | ||
| - | * e-mail address of webmaster (EMAIL_WM_ADDR constant) define e-mail address of webmaster on which site e-mails will be sent (e.g. ' | ||
| - | * additional e-mail address(es) for webmaster order notification (EMAIL_ORDER_RECIPIENTS constant) define e-mail address(es) on which e-mails with orders content will be sent (e.g. ' | ||
| - | * subject of webmaster e-mail (EMAIL_WM_SUBJECT constant) define subject string for webmaster' | ||
| - | \\ ** PayPal data ** needed for PayPal PDT post-back data verification | ||
| - | * PayPal PDT authentication token (PAYPAL_PDT_AUTH_TOKEN constant) define a string with PDT authentication token, which could be taken from PayPal merchant account settings, when PDT is turned ON; | ||
| \\ ** 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" | ||
| * 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: " | * order delivery method (ORDER_DELIVERY_METHOD constant) define the method of order notification delivery. It could take two values only: " | ||
| - | * 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:: | ||
merkalt/configure_file.1354183924.txt.gz · Last modified: (external edit)
