A Roundcube plugin which shows folder size.
I only test this plugin with following environments. Other setup may work with luck.
- PHP: >=
7.1.3
- Roundcube:
1.3.9
,1.4.0
- Supported skins:
Classic
,Larry
,Elastic
If you need support for PHP 5.4
~ 7.0
, go to the
php5
branch or just let Composer decide the version to be installed. But note that
I am not meant to maintain the php5
branch because even PHP 5.6 is quite outdated nowadays.
This plugin has been published on Packagist by the name of jfcherng-roundcube/show-folder-size.
- Go to your
ROUNDCUBE_HOME
(i.e., the root directory of your Roundcube). - Run
composer require jfcherng-roundcube/show-folder-size
. - If you want to do plugin configuration, copy
config.inc.php.dist
toconfig.inc.php
and then editconfig.inc.php
.
- Create folder
show_folder_size
inROUNDCUBE_HOME/plugins
if it does not exist. - Copy all plugin files there.
- If you want to do plugin configuration, copy
config.inc.php.dist
toconfig.inc.php
and then editconfig.inc.php
. (You can skip this step since there is no configuration for this plugin at this moment.) - Edit your Roundcube's config file (
ROUNDCUBE_HOME/config/config.inc.php
or maybe/etc/roundcube/config.inc.php
), locate$config['plugins']
and add'show_folder_size',
.
<?php
// some other codes...
$config['plugins'] = [
// some other plugins...
'show_folder_size', // <-- add this line
];
- You will need to have Node.js installed.
- Install dependencies via
npm install
(oryarn
if you prefer) - Compile assets with
./compile.sh