Comments (4)
Its possible to to do this with the following line:
array_push($this->prop['plugins'], 'emoticons', 'twofactor_gauthenticator');
from roundcubemail.
Indeed this is not supported and using $this
would be a hack. Maybe we could implement what you need. I suppose the change in rcube_config::load_from_file()
would be needed.
Something like this might work, but I'm not sure I like it:
--- a/program/lib/Roundcube/rcube_config.php
+++ b/program/lib/Roundcube/rcube_config.php
@@ -302,6 +302,8 @@ class rcube_config
if ($fpath && is_file($fpath) && is_readable($fpath)) {
// use output buffering, we don't need any output here
ob_start();
+ global $config;
+ $config = $this->prop;
require $fpath;
ob_end_clean();
from roundcubemail.
Its possible to to do this with the following line:
array_push($this->prop['plugins'], 'emoticons', 'twofactor_gauthenticator');
Thanks, this workaround works on my server.
from roundcubemail.
Indeed this is not supported and using
$this
would be a hack. Maybe we could implement what you need. I suppose the change inrcube_config::load_from_file()
would be needed.Something like this might work, but I'm not sure I like it:
--- a/program/lib/Roundcube/rcube_config.php +++ b/program/lib/Roundcube/rcube_config.php @@ -302,6 +302,8 @@ class rcube_config if ($fpath && is_file($fpath) && is_readable($fpath)) { // use output buffering, we don't need any output here ob_start(); + global $config; + $config = $this->prop; require $fpath; ob_end_clean();
Thanks for considering this issue @alecpl . Despite of the workaround, I would prefer a cleaner solution, like the one that you suggested. So, I'd appreciate if this gets implemented. Until then, I'll use the workaround.
from roundcubemail.
Related Issues (20)
- Mobile view is broken - no mails list HOT 1
- Roundcube GUI Request HOT 5
- Blue on Black makes it hard to read From and To HOT 1
- The interface has changed. HOT 6
- Folder hierarchy broken on special folders corner case HOT 1
- Force factory skin choice to still be available, always HOT 4
- Preferences should not be highlighted upon arriving in settings HOT 2
- Import contact CSV file with Shift JIS encoding results in mojibake HOT 4
- Support to add custom labels for csv import HOT 1
- webmobile not sending or receiving mail HOT 4
- [Idea] Advanced attachment management HOT 1
- winmail.dat attachment causes "An internal error has occurred." error when attempting to view the email message HOT 3
- error receiving email HOT 1
- Gravatar HOT 2
- Isolate inline message parts in individual, sandboxed iframes HOT 3
- Search exact phrase with quotation marks HOT 9
- Install Requirements: unsafe-inline and unsafe-eval in script-src if CSP is in use HOT 4
- Warning message from 1.6.6 to 1.6.7 upgrade HOT 1
- Junk folder - mail deletion differencies HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roundcubemail.