| verzia 1.10, 2002/12/14 04:37:56 |
verzia 1.11, 2002/12/14 22:41:27 |
|
|
| <!-- $Platon: phpMyEdit/doc/sgml/configuration.general.sgml,v 1.9 2002/12/13 18:31:50 nepto Exp $ --> |
<!-- $Platon: phpMyEdit/doc/sgml/configuration.general.sgml,v 1.10 2002/12/14 04:37:56 nepto Exp $ --> |
| |
|
| <sect1 id="configuration.mysql-options"> |
<sect1 id="configuration.mysql-options"> |
| <title id="configuration.mysql-options.title">Database connection</title> |
<title id="configuration.mysql-options.title">Database connection</title> |
| Riadok 556 CREATE TABLE changelog ( |
|
| Riadok 556 CREATE TABLE changelog ( |
|
| <para> |
<para> |
| |
|
| &name; provides also possibility of notifying about performed user actions by |
&name; provides also possibility of notifying about performed user actions by |
| sending e-mail. This feature configuration is done via |
sending informational e-mail. This feature configuration is done via |
| <varname>$opts['notify']</> array with following variables notation. |
<varname>$opts['notify']</> array with following variables notation. Note that |
| |
on every place where one e-mail address should be written, it is possible to |
| |
have array of multiple e-mail addresses there. This feature is provided for |
| |
informating more than one user about particular performed action. |
| |
|
| <simplelist type=horiz columns=2> |
<simplelist type=horiz columns=2> |
| <member><varname>$opts['notify']['prefix']</></><member> -- prefix of e-mail messages subject</> |
<member><varname>$opts['notify']['from']</></><member> sender envelope e-mail address (webmaster@SERVER_NAME by default)</> |
| <member><varname>$opts['notify']['insert']</></><member> -- e-mail address for insert action notification</> |
<member><varname>$opts['notify']['prefix']</></><member> prefix of e-mail messages subject (no prefix by default)</> |
| <member><varname>$opts['notify']['update']</></><member> -- e-mail address for update action notification</> |
<member><varname>$opts['notify']['wrap']</></><member> maximum width of e-mail message body (by default <constant>72</> will be used)</> |
| <member><varname>$opts['notify']['delete']</></><member> -- e-mail address for delete action notification</> |
<member><varname>$opts['notify']['insert']</></><member> e-mail address for insert action notification</> |
| <member><varname>$opts['notify']['all']</></><member> -- e-mail address for all actions notification</> |
<member><varname>$opts['notify']['update']</></><member> e-mail address for update action notification</> |
| |
<member><varname>$opts['notify']['delete']</></><member> e-mail address for delete action notification</> |
| |
<member><varname>$opts['notify']['all']</></><member> e-mail address for all actions notification</> |
| </simplelist> |
</simplelist> |
| |
|
| </para> |
</para> |
| <para> |
<para> |
| |
|
| Note that it is possible to specify either one e-mail address for particular |
In both cases, changelog table and e-mail notyfing are values of "user" |
| option by classical string, or multiple e-mail addresses using array. |
extracted from the variables in following order: |
| |
<varname>$_SERVER['REMOTE_USER']</>, |
| |
<varname>$HTTP_SERVER_VARS['REMOTE_USER']</> and global variable |
| |
<varname>$REMOTE_USER</>. Similary "host" variable is checked in |
| |
<varname>$_SERVER['REMOTE_ADDR']</>, than in |
| |
<varname>$HTTP_SERVER_VARS['REMOTE_ADDR']</> and at the end in global variable |
| |
<varname>$REMOTE_ADDR</>. |
| |
|
| </para> |
</para> |
| </sect1> |
</sect1> |