From 49c9f93911f47478ef17f8a28f462584031637ca Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Fri, 15 Jan 2010 00:48:33 +0100 Subject: [PATCH] Use "/usr/bin/env php" for the setup scripts. --- horde/admin/setup/scripts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/horde/admin/setup/scripts.php b/horde/admin/setup/scripts.php index f7f378d50..b268fbcaa 100644 --- a/horde/admin/setup/scripts.php +++ b/horde/admin/setup/scripts.php @@ -42,7 +42,7 @@ $data = ''; if ($setup == 'conf' && $type == 'php') { /* A bit ugly here, save PHP code into a string for creating the script * to be run at the command prompt. */ - $data = '#!/usr/bin/php' . "\n"; + $data = '#!/usr/bin/env php' . "\n"; $data .= ' $php) { $path = $registry->get('fileroot', $app) . '/config'; -- 2.11.0