auto_prepend_file中可以配置多个php文件么??
不可以,但你可在文件里 include 多个文件
不可以,但你可在文件里 include 多个文件
php.ini 中; Automatically add files before PHP document. auto_prepend_file
string
Specifies the name of a file that is automatically parsed before the main file. The file is included as if it was called with the require function, so include_path is used.
The special value none disables auto-prepending.
是一个文件啊。
auto_prepend_file
string
Specifies the name of a file that is automatically parsed before the main file. The file is included as if it was called with the require function, so include_path is used.
The special value none disables auto-prepending.
是一个文件啊。
由 include_path 指定
建议使用绝对路径,但可以使用dirname(__FILE__)来获得。