mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 18:19:22 +03:00
Added MailSo hooks
This commit is contained in:
parent
cfbda969d1
commit
e1d3010054
9 changed files with 79 additions and 31 deletions
|
|
@ -101,7 +101,7 @@ class Application extends \RainLoop\Config\AbstractConfig
|
|||
'Enable CSRF protection (http://en.wikipedia.org/wiki/Cross-site_request_forgery)'),
|
||||
|
||||
'custom_server_signature' => array('RainLoop'),
|
||||
'x_frame_options_header' => array('SAMEORIGIN'),
|
||||
'x_frame_options_header' => array(''),
|
||||
'openpgp' => array(false),
|
||||
'use_rsa_encryption' => array(false),
|
||||
'admin_login' => array('admin', 'Login and password for web admin panel'),
|
||||
|
|
|
|||
|
|
@ -468,7 +468,8 @@ class PdoAddressBook
|
|||
else
|
||||
{
|
||||
$sSql = 'INSERT INTO rainloop_ab_contacts '.
|
||||
'( id_user, id_contact_str, display, changed, etag) VALUES '.
|
||||
'( id_user, id_contact_str, display, changed, etag)'.
|
||||
' VALUES '.
|
||||
'(:id_user, :id_contact_str, :display, :changed, :etag)';
|
||||
|
||||
$this->prepareAndExecute($sSql,
|
||||
|
|
@ -514,7 +515,8 @@ class PdoAddressBook
|
|||
if (0 < \count($aParams))
|
||||
{
|
||||
$sSql = 'INSERT INTO rainloop_ab_properties '.
|
||||
'( id_contact, id_user, prop_type, prop_type_str, prop_value, prop_value_custom, prop_frec) VALUES '.
|
||||
'( id_contact, id_user, prop_type, prop_type_str, prop_value, prop_value_custom, prop_frec)'.
|
||||
' VALUES '.
|
||||
'(:id_contact, :id_user, :prop_type, :prop_type_str, :prop_value, :prop_value_custom, :prop_frec)';
|
||||
|
||||
$this->prepareAndExecute($sSql, $aParams, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue