From:             zeug at delirium dot ch
Operating system: Irrelevant
PHP version:      Irrelevant
PHP Bug Type:     Feature/Change Request
Bug description:  multiple auto_prepend_file, auto_append_file

Description:
------------
Hi Devs

I'm referring to bug #3293.

Yes, allowing multiple auto_prepend_file/auto_append/file does make sense.
Picture this:

You have your global configs in a file that's auto prepended. And you want
to use a package using auto_prepend_file as well (like my db_auth, see
https://www.bitcetera.com/en/project/pear/). You can't include() dbauth to
your global config as you don't want to protect all pages. And you don't
want to include() your global config in dbauth as this means you have to
alter the code of dbauth and trouble arises when new dbauth versions are
released.

I suggest allowing the following:
auto_prepend_file /path/to/inc1.php:/path/to/inc2.php

Allowing several auto_prepend_file directires is not a good idea as things
would get very messy when using it with .htaccess.

Love PHP!   -sven


-- 
Edit bug report at http://bugs.php.net/?id=25207&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25207&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25207&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25207&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25207&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25207&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25207&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25207&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25207&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25207&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25207&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25207&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25207&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25207&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25207&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25207&r=gnused

Reply via email to