roundcube.py
1 |
#-*-coding:utf-8-*-
|
---|---|
2 |
###########################################################################
|
3 |
#
|
4 |
# roundcube.py
|
5 |
#
|
6 |
###########################################################################
|
7 |
"""
|
8 |
Config pour roundcube
|
9 |
"""
|
10 |
from eolesql.db_test import db_exists, test_var |
11 |
|
12 |
ROUNDCUBE_TABLEFILENAMES = ['/usr/share/eole/mysql/roundcube/gen/roundcube.sql']
|
13 |
|
14 |
def test(): |
15 |
"""
|
16 |
test l'existence de la base de donnée roundcube
|
17 |
"""
|
18 |
return test_var('activer_roundcube') and not db_exists('roundcube') |
19 |
|
20 |
conf_dict = dict(filenames=ROUNDCUBE_TABLEFILENAMES,
|
21 |
test=test) |
22 |
|