From a7790b289aff98d32d65568d92e2a2c627eabf05 Mon Sep 17 00:00:00 2001 From: Lukas Heiligenbrunner Date: Mon, 26 Oct 2020 20:59:48 +0100 Subject: [PATCH] use correct magic var in php entry scripts to hold script folder structure independent of call folder fix php socket location in postinst script --- api/extractvideopreviews.php | 8 ++++---- api/settings.php | 2 +- api/tags.php | 2 +- api/video.php | 2 +- deb/OpenMediaCenter/DEBIAN/postinst | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/api/extractvideopreviews.php b/api/extractvideopreviews.php index 69b65bb..2080e36 100755 --- a/api/extractvideopreviews.php +++ b/api/extractvideopreviews.php @@ -1,8 +1,8 @@ handleAction(); diff --git a/api/tags.php b/api/tags.php index 88ce8fe..f290af3 100644 --- a/api/tags.php +++ b/api/tags.php @@ -1,5 +1,5 @@ handleAction(); diff --git a/api/video.php b/api/video.php index 70ca49a..29f9cd1 100644 --- a/api/video.php +++ b/api/video.php @@ -1,5 +1,5 @@ handleAction(); diff --git a/deb/OpenMediaCenter/DEBIAN/postinst b/deb/OpenMediaCenter/DEBIAN/postinst index 5e0d67e..b4f5637 100755 --- a/deb/OpenMediaCenter/DEBIAN/postinst +++ b/deb/OpenMediaCenter/DEBIAN/postinst @@ -3,7 +3,7 @@ ln -sf /etc/nginx/sites-available/OpenMediaCenter.conf /etc/nginx/sites-enabled/OpenMediaCenter.conf # link general socket to current one -phpsymlink="/var/run/php-fpm.sock"; +phpsymlink="/var/run/php/php-fpm.sock"; # create a gneral symlink to the php socket if not already existing if [ -L ${phpsymlink} ] ; then