-
@@ -702,19 +702,19 @@ switch ( $tab ) {
}
?>
-
diff --git a/Dockerfile b/Dockerfile index 964570928..08bfd406e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,6 +58,7 @@ RUN apt-get update \ php-mysql \ vlc-data \ yasm \ + zip \ && rm -rf /var/lib/apt/lists/* # Copy local code into our container diff --git a/distros/redhat/zoneminder.spec b/distros/redhat/zoneminder.spec index d56c0cc21..fc6a0c7ab 100644 --- a/distros/redhat/zoneminder.spec +++ b/distros/redhat/zoneminder.spec @@ -166,7 +166,7 @@ too much degradation of performance. find %{buildroot} \( -name .htaccess -or -name .editorconfig -or -name .packlist -or -name .git -or -name .gitignore -or -name .gitattributes -or -name .travis.yml \) -type f -delete > /dev/null 2>&1 || : # Recursively change shebang in all relevant scripts and set execute permission -find %{buildroot}%{_datadir}/zoneminder/www/api \( -name cake -or -name cake.php \) -type f -exec sed -i 's\^#!/usr/bin/env bash$\#!/usr/bin/bash\' {} \; -exec %{__chmod} 755 {} \; +find %{buildroot}%{_datadir}/zoneminder/www/api \( -name cake -or -name cake.php \) -type f -exec sed -i 's\^#!/usr/bin/env bash$\#!%{_buildshell}\' {} \; -exec %{__chmod} 755 {} \; # Use the system cacert file rather then the one bundled with CakePHP %{__rm} -f %{buildroot}%{_datadir}/zoneminder/www/api/lib/Cake/Config/cacert.pem diff --git a/web/skins/classic/views/event.php b/web/skins/classic/views/event.php index 11458380e..c83c95adb 100644 --- a/web/skins/classic/views/event.php +++ b/web/skins/classic/views/event.php @@ -220,7 +220,7 @@ if ( ZM_WEB_STREAM_METHOD == 'mpeg' && ZM_MPEG_LIVE_FORMAT ) {