Project

General

Profile

1
WebsiteBaker 2.8.3 Developing Instructions/Informations
2
=======================================================
3

    
4
$Id: DEVINFOS 1655 2012-03-31 23:41:19Z Luisehahne $
5

    
6

    
7
01 Apr-2012 Build 1655
8
----------------------
9
handling replyto in form module
10
You can directly answer to the recipient, sending by a authenticated user
11
then in from the recipient name is shown
12

    
13
22 Mar-2012 Build 1639
14
----------------------
15
Refer: new structure in config.php set by new installation
16
backwards compability is given, so const can be defined in /framework/initialize.php
17
add const DEBUG to config.php (default = false)
18
add const ADMIN_DIRECTORY to config.php (default = admin)
19
[code]
20
define('DEBUG', false);
21
define('DB_TYPE', 'mysql');
22
define('DB_HOST', 'localhost');
23
define('DB_NAME', 'xxxxxx');
24
define('DB_USERNAME', 'xxxxxx');
25
define('DB_PASSWORD', 'xxxxxx');
26
define('TABLE_PREFIX', 'wb_');
27

    
28
define('WB_URL', 'http://xxxxxxxx.xx');
29
define('ADMIN_DIRECTORY', 'admin'); // no leading/trailing slash or backslash!! A simple directory only!!
30

    
31
require_once(dirname(__FILE__).'/framework/initialize.php');
32
[/code]
33

    
34

    
35
09 Mar-2012 Build 1634
36
----------------------
37
If using the $MESSAGE['MOD_FORM_INCORRECT_CAPTCHA'] in your module, please add
38
following code to your script, 
39
requires: include_once (WB_PATH.'/framework/functions.php');
40
[code]
41
$aServerEmail = (defined('SERVER_EMAIL') && SERVER_EMAIL != '' ? SERVER_EMAIL : $_SERVER['SERVER_NAME']);
42
$replace = array('SERVER_EMAIL' => $aServerEmail );
43
$MESSAGE['MOD_FORM_INCORRECT_CAPTCHA'] = replace_vars($MESSAGE['MOD_FORM_INCORRECT_CAPTCHA'], $replace);
44
[/code]
45

    
46

    
(3-3/7)