Handle unlimited width on 6.13

master
Squidly271 2023-11-19 12:04:57 -05:00
parent 4aa888b8dd
commit 506268978c
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ a58a9cf9af6aa9e47c891da46d37fe1a ./Apps.page
385834d91dc8758bfcd5d34f1c3e530e ./CA_notices.page
2c2a1b7d148fe51ee38813d1a0e71589 ./ca_settings.page
01ed7990078dee7cecfeda9a4e49377e ./default.cfg
f56b7ed37ac6d13daae4d3d14016161a ./include/exec.php
d2526de78af5417f92e73f8957a65198 ./include/exec.php
2549b355dfb0f77efa1235cad798cff4 ./include/helpers.php
343e1d26129551fc142b09b5d6e10503 ./include/paths.php
7234caf6800479df03abb222aaedaca5 ./javascript/libraries.js

View File

@ -493,9 +493,9 @@ function getConvertedTemplates() {
# Selects an app of the day #
#############################
function appOfDay($file) {
global $caPaths,$caSettings,$sortOrder;
global $caPaths,$caSettings,$sortOrder,$dynamixSettings;
$max = is_file("/boot/config/plugins/unlimited-width.plg") ? 12 : 5;
$max = ( is_file("/boot/config/plugins/unlimited-width.plg") || ($dynamixSettings['width'] ?? false) ) ? 12 : 5;
$appOfDay = null;
switch ($caSettings['startup']) {