Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for phpMyEdit/doc/sgml/configuration.general.sgml between version 1.9 and 1.10

version 1.9, 2002/12/13 18:31:50 version 1.10, 2002/12/14 04:37:56
Line 1 
Line 1 
 <!-- $Platon: phpMyEdit/doc/sgml/configuration.general.sgml,v 1.8 2002/12/13 02:55:15 nepto Exp $ -->  <!-- $Platon: phpMyEdit/doc/sgml/configuration.general.sgml,v 1.9 2002/12/13 18:31:50 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>
Line 523  $opts['triggers']['delete']['after']  =
Line 523  $opts['triggers']['delete']['after']  =
 <title id="configuration.logging.title">Logging user actions</title>  <title id="configuration.logging.title">Logging user actions</title>
 <para>  <para>
   
 You can log performed user actions into special "changelog" table.  You can log performed user actions into special "changelog" table. You must have
   table created and specified for &name; using <varname>$opts['logtable']</>
   option.
   
 </para>  </para>
 <para>  <para>
Line 537  $opts['logtable']= 'changelog';
Line 539  $opts['logtable']= 'changelog';
 <example><title>Log table schema</title>  <example><title>Log table schema</title>
 <programlisting><![CDATA[  <programlisting><![CDATA[
 CREATE TABLE changelog (  CREATE TABLE changelog (
         updated timestamp(14) NOT NULL,          updated    timestamp(14)  default NULL,
         user varchar(50) default NULL,          user       varchar(50)    default NULL,
         host varchar(255) NOT NULL default '',          host       varchar(255)   default NULL,
         operation varchar(50) default NULL,          operation  varchar(50)    default NULL,
         tab varchar(50) default NULL,          tab        varchar(50)    default NULL,
         rowkey varchar(255) default NULL,          rowkey     varchar(255)   default NULL,
         col varchar(255) default NULL,          col        varchar(255)   default NULL,
         oldval blob,          oldval     blob           default NULL,
         newval blob          newval     blob           default NULL
 );  );
 ]]></programlisting>  ]]></programlisting>
 </example>  </example>
   
 </para>  </para>
   <para>
   
   &name; provides also possibility of notifying about performed user actions by
   sending e-mail. This feature configuration is done via
   <varname>$opts['notify']</> array with following variables notation.
   
   <simplelist type=horiz columns=2>
   <member><varname>$opts['notify']['prefix']</></><member> -- prefix of e-mail messages subject</>
   <member><varname>$opts['notify']['insert']</></><member> -- e-mail address for insert action 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>
   
   </para>
   <para>
   
   Note that it is possible to specify either one e-mail address for particular
   option by classical string, or multiple e-mail addresses using array.
   
   </para>
 </sect1>  </sect1>
   
 <sect1 id="configuration.languages">  <sect1 id="configuration.languages">

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top