openbsd-ports/www/tt-rss/patches/patch-update_php
landry acc5fc1ac5 Update to tt-rss 1.7.9, still seems to work fine in ffx & with the
android unofficial client. Dont forget to visit the webpage for db
upgrade process first.
2013-06-04 19:59:37 +00:00

19 lines
501 B
Plaintext

$OpenBSD: patch-update_php,v 1.3 2013/06/04 19:59:38 landry Exp $
--- update.php.orig Mon May 13 11:34:26 2013
+++ update.php Tue Jun 4 21:02:03 2013
@@ -1,4 +1,4 @@
-#!/usr/bin/env php
+#!${MODPHP_BIN}
<?php
set_include_path(dirname(__FILE__) ."/include" . PATH_SEPARATOR .
get_include_path());
@@ -16,7 +16,7 @@
require_once "db-prefs.php";
if (!defined('PHP_EXECUTABLE'))
- define('PHP_EXECUTABLE', '/usr/bin/php');
+ define('PHP_EXECUTABLE', '${MODPHP_BIN}');
init_plugins();