mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
CS Fixes.
Fixed a bug with 404 handling. Added more detailed Apache info for phpinfo(). Added the support for last_modified.
This commit is contained in:
parent
ba18cd1a45
commit
97418f59bd
4 changed files with 197 additions and 130 deletions
|
@ -63,4 +63,21 @@ extern const command_rec php_dir_cmds[];
|
|||
|
||||
#define APR_ARRAY_FOREACH_CLOSE() }}
|
||||
|
||||
typedef struct {
|
||||
long engine;
|
||||
long xbithack;
|
||||
long last_modified;
|
||||
} php_apache2_info_struct;
|
||||
|
||||
extern zend_module_entry apache2_module_entry;
|
||||
|
||||
#ifdef ZTS
|
||||
extern int php_apache2_info_id;
|
||||
#define AP2(v) TSRMG(php_apache2_info_id, php_apache2_info_struct *, v)
|
||||
#else
|
||||
extern php_apache2_info_struct php_apache2_info;
|
||||
#define AP2(v) (php_apache2_info.v)
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* PHP_APACHE_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue