projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e106b07
)
Use "/usr/bin/env php" for the setup scripts.
author
Jan Schneider
<jan@horde.org>
Thu, 14 Jan 2010 23:48:33 +0000
(
00:48
+0100)
committer
Jan Schneider
<jan@horde.org>
Fri, 15 Jan 2010 00:15:00 +0000
(
01:15
+0100)
horde/admin/setup/scripts.php
patch
|
blob
|
history
diff --git
a/horde/admin/setup/scripts.php
b/horde/admin/setup/scripts.php
index
f7f378d
..
b268fbc
100644
(file)
--- 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' . "\n";
foreach ($_SESSION['_config'] as $app => $php) {
$path = $registry->get('fileroot', $app) . '/config';