From: Jan Schneider Date: Thu, 14 Jan 2010 23:48:33 +0000 (+0100) Subject: Use "/usr/bin/env php" for the setup scripts. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=49c9f93911f47478ef17f8a28f462584031637ca;p=horde.git Use "/usr/bin/env php" for the setup scripts. --- 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';