fixed plugin path

master
Alexander Graf 2 years ago
parent 1e53530164
commit 37855153b8
No known key found for this signature in database
GPG Key ID: B8A9DC143E075629

@ -51,7 +51,7 @@ context['SECRET_KEY'] = hmac.new(bytearray(secret_key, 'utf-8'), bytearray('ROUN
# roundcube plugins
# (using "dict" because it is ordered and "set" is not)
plugins = dict((p, None) for p in env.get("ROUNDCUBE_PLUGINS", "").replace(" ", "").split(",") if p and os.path.isdir(os.path.join("/var/www/plugins", p)))
plugins = dict((p, None) for p in env.get("ROUNDCUBE_PLUGINS", "").replace(" ", "").split(",") if p and os.path.isdir(os.path.join("/var/www/html/plugins", p)))
if plugins:
plugins["mailu"] = None
else:

Loading…
Cancel
Save