Browse Source

smallies roundcube

pull/4/head
Fanch 1 year ago
parent
commit
b8b8d350ce
  1. 14
      dockers/roundcube/config/add-to-config.inc.php
  2. 2
      dockers/roundcube/config/custom_config.inc.php
  3. BIN
      dockers/roundcube/config/kazmel.png
  4. 20
      dockers/roundcube/first.sh

14
dockers/roundcube/config/add-to-config.inc.php

@ -0,0 +1,14 @@
# KAZ custom
$config['imap_conn_options'] = array(
'ssl' => array(
'verify_peer' => false,
'verfify_peer_name' => false,
),
);
$config['smtp_conn_options'] = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
),
);
include 'custom_config.inc.php';

2
dockers/roundcube/config/custom_config.inc.php

@ -0,0 +1,2 @@
<?php
$rcmail_config['skin_logo'] = 'skins/elastic/images/kazmel.png';

BIN
dockers/roundcube/config/kazmel.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

20
dockers/roundcube/first.sh

@ -0,0 +1,20 @@
#!/bin/bash
KAZ_ROOT=$(cd $(dirname $0)/../..; pwd)
. "${KAZ_ROOT}/bin/.commonFunctions.sh"
setKazVars
cd $(dirname $0)
. "${DOCKERS_ENV}"
WEB_DIR="${DOCK_VOL}/roundcube_webmailWeb/_data"
CONF_DIR="${WEB_DIR}/config"
IMG_DIR="${WEB_DIR}/skins/elastic/images"
if ! grep -q "KAZ custom" "${CONF_DIR}/config.inc.php" 2> /dev/null; then
printKazMsg "\n *** Premier lancement de roundcube"
cat "config/add-to-config.inc.php" >> "${CONF_DIR}/config.inc.php"
cp "config/custom_config.inc.php" "${CONF_DIR}/"
cp "config/kazmel.png" "${IMG_DIR}/"
fi
Loading…
Cancel
Save