From dd9ec863ab3b0fdab87189834e9f81ec5ee3cf95 Mon Sep 17 00:00:00 2001 From: Matthieu Kermagoret Date: Fri, 1 Jun 2018 11:08:45 +0200 Subject: [PATCH] fix(build): use /usr/bin/env in shebang instead of direct php path. --- bin/centreon | 2 +- cron/downtimeManager.php | 3 +-- libinstall/clean_session.php | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/bin/centreon b/bin/centreon index 50b2611d460..3fab25930c5 100755 --- a/bin/centreon +++ b/bin/centreon @@ -1,4 +1,4 @@ -#! /usr/bin/php +#!/usr/bin/env php purgeCache(); - diff --git a/libinstall/clean_session.php b/libinstall/clean_session.php index 928397f4201..16a11cc3a78 100644 --- a/libinstall/clean_session.php +++ b/libinstall/clean_session.php @@ -1,4 +1,4 @@ -#!/usr/bin/php +#!/usr/bin/env php