mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
Fixed: Very old CA installs would crash on the home page.
This commit is contained in:
parent
c59af1efc2
commit
021278d407
BIN
archive/community.applications-2022.03.09-x86_64-1.txz
Normal file
BIN
archive/community.applications-2022.03.09-x86_64-1.txz
Normal file
Binary file not shown.
@ -2,7 +2,7 @@ af50c424366caf1bc4af63398a0e6adb ./Apps.page
|
||||
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
||||
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
|
||||
e718d7825dbdc96a17a915079222b098 ./default.cfg
|
||||
1b022dd1f25bf7dbd10383fa1b924600 ./include/exec.php
|
||||
8411adf2906e9d225b59d8dd3eba97e8 ./include/exec.php
|
||||
f32bb71914346adbbc8a3a6b59e9521d ./include/helpers.php
|
||||
d827ebdf8c29aa6a9818df043a37721e ./include/paths.php
|
||||
532fffdf939594c143e679da02bd841e ./javascript/libraries.js
|
||||
|
@ -32,6 +32,7 @@ $caSettings['dockerSearch'] = "yes";
|
||||
$caSettings['unRaidVersion'] = $unRaidSettings['version'];
|
||||
$caSettings['favourite'] = str_replace("*","'",$caSettings['favourite']);
|
||||
$caSettings['maxPerPage'] = (integer)$caSettings['maxPerPage'] ?: "24"; // Handle possible corruption on file
|
||||
if ( $caSettings['maxPerPage'] < 24 ) $caSettings['maxPerPage'] = 24;
|
||||
|
||||
if ( ! is_file($caPaths['warningAccepted']) )
|
||||
$caSettings['NoInstalls'] = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user