mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
Fixed: very old CA installs would show -1 as max per page
This commit is contained in:
parent
c83114cdd8
commit
7aaf402e1d
BIN
archive/community.applications-2022.03.12-x86_64-1.txz
Normal file
BIN
archive/community.applications-2022.03.12-x86_64-1.txz
Normal file
Binary file not shown.
@ -19,7 +19,6 @@ require_once "$docroot/plugins/$plugin/include/paths.php";
|
||||
require_once "$docroot/plugins/$plugin/include/helpers.php";
|
||||
require_once "$docroot/plugins/dynamix.docker.manager/include/DockerClient.php";
|
||||
|
||||
|
||||
$DockerClient = new DockerClient();
|
||||
$DockerTemplates = new DockerTemplates();
|
||||
|
||||
@ -33,6 +32,9 @@ $diagnosticsFile = htmlspecialchars(str_replace(' ','_',strtolower($var['NAME'])
|
||||
|
||||
$cfg = parse_plugin_cfg($plugin);
|
||||
$cfg['dockerSearch'] = "yes";
|
||||
|
||||
if ( $cfg['maxPerPage'] < 24 ) $cfg['maxPerPage'] = 24;
|
||||
|
||||
if ( ! is_file($caPaths['warningAccepted']) ) {
|
||||
$firstRun = "true";
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
af50c424366caf1bc4af63398a0e6adb ./Apps.page
|
||||
5b1d28724dc2fe661afdbaa6d19fed29 ./Apps.page
|
||||
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
||||
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
|
||||
e718d7825dbdc96a17a915079222b098 ./default.cfg
|
||||
|
Loading…
x
Reference in New Issue
Block a user