bugfixes
This commit is contained in:
parent
b252a20f87
commit
932a7bf753
@ -156,4 +156,4 @@ HEALTHCHECK --interval=60s --timeout=10s --start-period=30s --retries=5 \
|
|||||||
CMD curl -f http://localhost:80/health || curl -f http://localhost:80/test.php || exit 1
|
CMD curl -f http://localhost:80/health || curl -f http://localhost:80/test.php || exit 1
|
||||||
|
|
||||||
# Start supervisor
|
# Start supervisor
|
||||||
CMD ["sh", "-c", "mkdir -p storage/framework/cache storage/framework/sessions storage/framework/views storage/logs bootstrap/cache && chown -R www-data:www-data storage bootstrap/cache && chmod -R 775 storage bootstrap/cache && /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf"]
|
CMD ["sh", "-c", "mkdir -p storage/framework/cache storage/framework/sessions storage/framework/views storage/logs bootstrap/cache && chown -R www-data:www-data storage bootstrap/cache && chmod -R 775 storage bootstrap/cache && if [ -f .env ]; then chown www-data:www-data .env || true; chmod 666 .env || true; fi && /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf"]
|
||||||
|
|||||||
@ -77,7 +77,7 @@ class HandleInertiaRequests extends Middleware
|
|||||||
}
|
}
|
||||||
|
|
||||||
$direction = Cookie::get('direction', 'ltr');
|
$direction = Cookie::get('direction', 'ltr');
|
||||||
if (array_key_exists('direction', $system->fields)) {
|
if ($system && array_key_exists('direction', $system->fields)) {
|
||||||
$systemDirection = $system->fields['direction'];
|
$systemDirection = $system->fields['direction'];
|
||||||
if ($systemDirection !== 'none') {
|
if ($systemDirection !== 'none') {
|
||||||
$direction = $systemDirection;
|
$direction = $systemDirection;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user