From b678e80176e1e59c59938968e776be133b1633b1 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Thu, 13 Nov 2008 16:51:05 -0600
Subject: change basedir to reflect the new location of htdocs

users upgrading will need to copy /etc/php/php.ini.pacnew /etc/php/php.inig
---
 abs/core-testing/php/PKGBUILD    | 2 +-
 abs/core-testing/php/__changelog | 2 ++
 abs/core-testing/php/php.ini     | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)
 create mode 100644 abs/core-testing/php/__changelog

diff --git a/abs/core-testing/php/PKGBUILD b/abs/core-testing/php/PKGBUILD
index f824ec7..94107a7 100644
--- a/abs/core-testing/php/PKGBUILD
+++ b/abs/core-testing/php/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=php
 pkgver=5.2.6
-pkgrel=7
+pkgrel=11
 _suhosinver=0.9.6.2
 pkgdesc='A high-level scripting language'
 arch=('i686' 'x86_64')
diff --git a/abs/core-testing/php/__changelog b/abs/core-testing/php/__changelog
new file mode 100644
index 0000000..6a4d8f3
--- /dev/null
+++ b/abs/core-testing/php/__changelog
@@ -0,0 +1,2 @@
+modified php.ini
+set base dir to /data/srv/httpd/htdocs
\ No newline at end of file
diff --git a/abs/core-testing/php/php.ini b/abs/core-testing/php/php.ini
index bc0e862..a2b1e0a 100644
--- a/abs/core-testing/php/php.ini
+++ b/abs/core-testing/php/php.ini
@@ -249,7 +249,7 @@ safe_mode_protected_env_vars = LD_LIBRARY_PATH
 ; and below.  This directive makes most sense if used in a per-directory
 ; or per-virtualhost web server configuration file. This directive is
 ; *NOT* affected by whether Safe Mode is turned On or Off.
-open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/
+open_basedir = /data/srv/httpd/htdocs/:/home/:/tmp/:/usr/share/pear/
 
 ; This directive allows you to disable certain functions for security reasons.
 ; It receives a comma-delimited list of function names. This directive is
-- 
cgit v0.12

