updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / php-gtk / disable-open_basedir.patch
blob97c9bed6e9a4802e4fef262caabbb63ceab307af
1 diff -upr php-gtk-2.0.1.orig/config.m4 php-gtk-2.0.1/config.m4
2 --- php-gtk-2.0.1.orig/config.m4 2008-02-13 07:05:27.000000000 +0200
3 +++ php-gtk-2.0.1/config.m4 2009-09-11 20:43:29.000000000 +0300
4 @@ -22,7 +22,7 @@ Please use the --with-php-config option
5 the location of php-config for the required version.])
6 ;;
7 esac
8 - PHP=$PHP_PREFIX/bin/php
9 + PHP="$PHP_PREFIX/bin/php -d 'open_basedir='"
10 else
11 AC_MSG_ERROR(Could not locate PHP executable)