This commit is contained in:
Squidly271 2023-03-11 09:42:36 -05:00
parent 65f8fa534e
commit a26a52fe11
5 changed files with 10 additions and 8 deletions

Binary file not shown.

View File

@ -2,8 +2,8 @@
<!DOCTYPE PLUGIN [
<!ENTITY name "community.applications">
<!ENTITY author "Andrew Zawadzki">
<!ENTITY version "2023.03.03">
<!ENTITY md5 "def37490eea07a768c282963303ec4f8">
<!ENTITY version "2023.03.11">
<!ENTITY md5 "07710453ff204cdacbcaaa974611923c">
<!ENTITY launch "Apps">
<!ENTITY plugdir "/usr/local/emhttp/plugins/&name;">
<!ENTITY github "Squidly271/community.applications">
@ -13,6 +13,9 @@
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;" min="6.9.0" support="https://forums.unraid.net/topic/38582-plug-in-community-applications" icon="users">
<CHANGES>
###2023.03.11
- PHP 8 Upgrades
###2023.03.03
- PHP8 Upgrades

View File

@ -94,9 +94,8 @@ else
$date = (date("n/d"));
if ( true ) // remove on prod version on uncomment next line
//if ( $date == "4/01" )
$batMan = (! is_file("/boot/config/plugins/community.applications/IamBatman")) && ($_SESSION['locale'] == "" || $_COOKIE['locale'] == "en_US");
if ( $date == "4/01" )
$batMan = (! is_file("/boot/config/plugins/community.applications/IamBatman")) && ($_SESSION['locale'] == "" || $SESSION['locale'] == "en_US");
else
$batMan = false;

View File

@ -1,8 +1,8 @@
e1e53b35676cef978dd34779bf38a308 ./Apps.page
79ce6cfd71f1cdf64b21380cda1b54d4 ./Apps.page
106b521c1feebda4d7b3f558cc016cda ./CA_notices.page
eb1f0ee4148747c0473e73e4e973994f ./ca_settings.page
e8d29607ec792ddf9f6832b10ee70fdc ./default.cfg
40fee66825770960a6d8dcb5ae5d44f6 ./include/exec.php
5a7b81afa4ce47abb69d19c175a75346 ./include/exec.php
6a2cd1927d391aff2345233a514d7a87 ./include/helpers.php
8e053d6cd83fbe2202c13b692beabb4f ./include/paths.php
532fffdf939594c143e679da02bd841e ./javascript/libraries.js

View File

@ -1843,7 +1843,7 @@ function createXML() {
$disksPresent[] = "user";
if ( @is_array($template['Data']['Volume']) ) {
$testarray = $template['Data']['Volume'];
if ( ! is_array($testarray[0]) ) $testarray = [$testarray];
if ( ( ! isset($testarray[0]) ) || ( ! is_array($testarray[0]) ) ) $testarray = [$testarray];
foreach ($testarray as &$volume) {
$diskReferenced = array_values(array_filter(explode("/",$volume['HostDir'])));
if ( $diskReferenced[0] == "mnt" && $diskReferenced[1] && ! in_array($diskReferenced[1],$disksPresent) ) {