mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Bugfix: plugin package incorrect
This commit is contained in:
parent
3ab1725bb6
commit
3508adb5ef
2 changed files with 3 additions and 3 deletions
|
|
@ -45,7 +45,7 @@ foreach (glob(ROOT_DIR . '/plugins/*', GLOB_NOSORT | GLOB_ONLYDIR) as $dir) {
|
||||||
@unlink($tgz_destination);
|
@unlink($tgz_destination);
|
||||||
@unlink("{$tar_destination}.gz");
|
@unlink("{$tar_destination}.gz");
|
||||||
$tar = new PharData($tar_destination);
|
$tar = new PharData($tar_destination);
|
||||||
$tar->buildFromDirectory('./plugins/', '/' . \preg_quote("./plugins/{$name}", '/') . '/');
|
$tar->buildFromDirectory('./plugins/', '/' . \preg_quote("./plugins/{$name}/", '/') . '/');
|
||||||
$tar->compress(Phar::GZ);
|
$tar->compress(Phar::GZ);
|
||||||
unlink($tar_destination);
|
unlink($tar_destination);
|
||||||
rename("{$tar_destination}.gz", $tgz_destination);
|
rename("{$tar_destination}.gz", $tgz_destination);
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ class ChangePasswordPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
{
|
{
|
||||||
const
|
const
|
||||||
NAME = 'Change Password',
|
NAME = 'Change Password',
|
||||||
VERSION = '2.14',
|
VERSION = '2.16',
|
||||||
RELEASE = '2022-04-28',
|
RELEASE = '2022-05-20',
|
||||||
REQUIRED = '2.12.0',
|
REQUIRED = '2.12.0',
|
||||||
CATEGORY = 'Security',
|
CATEGORY = 'Security',
|
||||||
DESCRIPTION = 'Extension to allow users to change their passwords';
|
DESCRIPTION = 'Extension to allow users to change their passwords';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue