Roundcube Community Forum

 

Where is the main.inc.php file?

Started by adobe, July 24, 2022, 10:00:22 PM

Previous topic - Next topic

adobe

In which file do you need to write a line to activate the plugin?
I installed the plugin, but there is no file where you need to register it at all, I didn't even find it on the server through find, what should I do?

adobe

He himself asked - he himself found the answer in 10 minutes. To activate the plugin, you need to register not in main.inc.php but in config.inc.php somewhere on line 85 you will find this:
$config['plugins'] = array(
     'autologin',
     'archive',
     'zip download',
);

In this array, add a line with the name of the plugin.
You won't figure it out yourself - no one will help you.

In simple words, in new versions of main.inc.php this is config.inc.php