#20622 [Opn]: auto_prepend_file 'reset'

From: Date: Tue, 26 Nov 2002 20:27:07 +0000
Subject: #20622 [Opn]: auto_prepend_file 'reset'
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969349957@lists.php.net to get a copy of this message
ID: 20622 Updated by: philip@php.net Reported By: msopacua@php.net Status: Open Bug Type: Documentation problem Operating System: Any -PHP Version: 4.3.0RC1 +PHP Version: 4.4.0-dev New Comment: Here's some related information. In php.ini-dist: ; Automatically add files before or after any PHP document. auto_prepend_file = auto_append_file = Which means the default value is essentially "" as the docs say in the defaults table. Also the docs mention the special none value but could someone explain the difference a bit? So when setting outside of php.ini one must use none instead of ""? Does none make sense in php.ini too? Previous Comments: ------------------------------------------------------------------------ [2002-11-26 13:28:13] goba@php.net If you propose a change, why mark it bogus??? ------------------------------------------------------------------------ [2002-11-26 07:37:25] msopacua@php.net Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Actually - looking further it's documented under the configuration directives. (maybe the table 4-5 "Data handling Configuration Options" could list 'none' instead of ""). ------------------------------------------------------------------------ [2002-11-26 07:32:56] msopacua@php.net Yep. Not document ( http://www.php.net/manual/en/configuration.changes.php ) -> recategorizing. ------------------------------------------------------------------------ [2002-11-25 09:04:30] iliaa@php.net Try using 'none' as the value, that should clear the value. ------------------------------------------------------------------------ [2002-11-25 09:00:23] msopacua@php.net Dir structure: foo | | - bar In foo: auto_prepend_file "some_file.php" In bar: need to clear that. Using apache, php_value must have 2 arguments, and thus setting it to "" gives: php_value takes two arguments, PHP Value Modifier Work-around: empty.php Preferable Fix: use a special keyword like "RESET" or "EMPTY" to set it to 'empty'. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20622&edit=1

« previous php.doc (#969349957) next »