Search
j0ke.net Open Build Service
>
Projects
>
server:php:applications
>
horde-groupware-webmail
> horde-3.1.3-php5_exec.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File horde-3.1.3-php5_exec.patch of Package horde-groupware-webmail (Revision 26)
Currently displaying revision
26
,
show latest
--- admin/setup/scripts.php.old 2007-11-07 15:09:30.000000000 +0100 +++ admin/setup/scripts.php 2007-11-07 15:09:57.000000000 +0100 @@ -48,7 +48,7 @@ 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/php5' . "\n"; $data .= '<?php' . "\n"; foreach ($_SESSION['_config'] as $app => $php) { $path = $registry->get('fileroot', $app) . '/config'; --- po/README.old 2007-11-07 15:10:42.000000000 +0100 +++ po/README 2007-11-07 15:10:57.000000000 +0100 @@ -22,7 +22,7 @@ ``translation.php`` is located in ``horde/po``, so you will have to make ``horde/po`` your working directory in order to run the commands quoted -below. If your PHP binary is not located in ``/usr/bin/php``, you will have to +below. If your PHP binary is not located in ``/usr/bin/php5``, you will have to precede these commands with ``/path/to/your/php -q``. For a list of available commands run:: @@ -43,7 +43,7 @@ To run this script you'll need a PHP executable like the CLI or the CGI version with `gettext support`_ compiled in and the basic `PEAR`_ libraries. The -script expects your PHP executable to be at ``/usr/bin/php``. If your +script expects your PHP executable to be at ``/usr/bin/php5``. If your executable is at another place, either edit the first line of ``translation.php`` to reflect your location or call the script like:: --- po/translation.php.old 2007-11-07 15:11:24.000000000 +0100 +++ po/translation.php 2007-11-07 15:11:35.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/php -q +#!/usr/bin/php5 -q <?php /** * Translation helper application for the Horde framework. --- scripts/alarms.php.old 2007-11-07 15:11:59.000000000 +0100 +++ scripts/alarms.php 2007-11-07 15:12:06.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env php +#!/usr/bin/php5 <?php /** * $Horde: horde/scripts/alarms.php,v 1.2 2007/03/01 22:24:50 chuck Exp $ --- scripts/upgrades/migrate_user_categories.php.old 2007-11-07 15:12:37.000000000 +0100 +++ scripts/upgrades/migrate_user_categories.php 2007-11-07 15:12:46.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/php -q +#!/usr/bin/php5 -q <?php /** * $Horde: horde/scripts/upgrades/migrate_user_categories.php,v 1.1 2006/09/02 02:13:16 chuck Exp $ --- scripts/upgrades/move_history_out_of_datatree.php.old 2007-11-07 15:13:16.000000000 +0100 +++ scripts/upgrades/move_history_out_of_datatree.php 2007-11-07 15:13:23.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/php +#!/usr/bin/php5 <?php /** * $Horde: horde/scripts/upgrades/move_history_out_of_datatree.php,v 1.4 2006/12/09 02:36:53 chuck Exp $