testing release
parent
6c0ffc1190
commit
b02f4637e5
|
@ -20,7 +20,7 @@ $this->registerModule(
|
|||
'Packages repository',
|
||||
'Manage your Dotclear packages',
|
||||
'Jean-Christian Denis',
|
||||
'2023.03.18',
|
||||
'2023.03.18.1',
|
||||
[
|
||||
'requires' => [['core', '2.26']],
|
||||
'permissions' => null,
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
<modules xmlns:da="http://dotaddict.org/da/">
|
||||
<module id="pacKman">
|
||||
<name>Packages repository</name>
|
||||
<version>2023.03.18</version>
|
||||
<version>2023.03.18.1</version>
|
||||
<author>Jean-Christian Denis</author>
|
||||
<desc>Manage your Dotclear packages</desc>
|
||||
<file>https://github.com/JcDenis/pacKman/releases/download/v2023.03.18/plugin-pacKman.zip</file>
|
||||
<file>https://github.com/JcDenis/pacKman/releases/download/v2023.03.18.1/plugin-pacKman.zip</file>
|
||||
<da:dcmin>2.26</da:dcmin>
|
||||
<da:details>https://plugins.dotaddict.org/dc2/details/pacKman</da:details>
|
||||
<da:support>https://github.com/JcDenis/pacKman</da:support>
|
||||
|
|
|
@ -92,7 +92,7 @@ class Config extends dcNsProcess
|
|||
$img_off = sprintf($img, __('not writable'), 'check-off.png');
|
||||
|
||||
$check_repo = Utils::is_writable(Utils::getRepositoryDir($s->pack_repository), '_.zip') ? $img_on : $img_off;
|
||||
$check_first = !empty($s->pack_filename) && Utils::is_writable(Utils::getRepositoryDir($repo), $s->pack_filename) ? $img_on : $img_off;
|
||||
$check_first = !empty($s->pack_filename) && Utils::is_writable(Utils::getRepositoryDir($repo), $s->pack_filename) ? $img_on : $img_off;
|
||||
$check_second = !empty($s->secondpack_filename) && Utils::is_writable(Utils::getRepositoryDir($repo), $s->secondpack_filename) ? $img_on : $img_off;
|
||||
|
||||
$is_configured = Utils::is_configured(
|
||||
|
|
|
@ -80,7 +80,7 @@ class Utils
|
|||
return !(empty($path) || empty($file) || !is_writable(dirname($path . DIRECTORY_SEPARATOR . $file)));
|
||||
}
|
||||
|
||||
public static function getUnzipCapability()
|
||||
public static function getUnzipCapability(): string
|
||||
{
|
||||
switch (Unzip::USE_DEFAULT) {
|
||||
case Unzip::USE_PHARDATA:
|
||||
|
@ -109,7 +109,7 @@ class Utils
|
|||
return 'Legacy';
|
||||
}
|
||||
|
||||
public static function getZipCapability()
|
||||
public static function getZipCapability(): string
|
||||
{
|
||||
switch (Zip::USE_DEFAULT) {
|
||||
case Zip::USE_PHARDATA:
|
||||
|
|
Loading…
Reference in New Issue