Req #64484 [Com]: [feature request] second auto_prepend_file
Edit report at https://bugs.php.net/bug.php?id=64484&edit=1
ID: 64484
Comment by: reeze@php.net
Reported by: spamik at yum dot pl
Summary: [feature request] second auto_prepend_file
Status: Open
Type: Feature/Change Request
Package: *General Issues
PHP Version: 5.4.13
Block user comment: N
Private report: N
New Comment:
If you need the second auto_prepend_file, then you might want the third.
You could set auto_prepend_file to your administrate file and include a
fixed user file path if it exits.
Previous Comments:
------------------------------------------------------------------------
[2013-03-22 04:30:12] spamik at yum dot pl
Description:
------------
There is need for second auto_prepend_file for administrative purposes (for
example hosting providers). It would allow users to still user auto_prepend_file
and hosting to use its own.
Example uses:
a) $_ENV['APPLICATION_ENV'] = $_SERVER["REDIRECT_APPLICATION_ENV"];
(because apache dont pass env to fastcgi, instead it passes it into fastcgi
protocol)
b) setting open_basedir (it can't be relaxed later on since php 5.3)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64484&edit=1
Thread (3 messages)