diff options
author | Dmitry Stogov <dmitry@php.net> | 2008-07-22 07:03:00 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2008-07-22 07:03:00 +0000 |
commit | c48c63f5e6de2d987457315b8933cb031a714998 (patch) | |
tree | 7d467ff8e5c2d0ed02318935560d52bc1255224f /ext/phar/phar_internal.h | |
parent | 39ae24846569ecbccf96e4863a632acfc73f81c7 (diff) | |
download | php-git-c48c63f5e6de2d987457315b8933cb031a714998.tar.gz |
Improved webPhar speed (frontcontroller11.phar.phpt is disabled, should be removed)
Diffstat (limited to 'ext/phar/phar_internal.h')
-rwxr-xr-x | ext/phar/phar_internal.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/phar/phar_internal.h b/ext/phar/phar_internal.h index 12a3a5a32c..52242c4231 100755 --- a/ext/phar/phar_internal.h +++ b/ext/phar/phar_internal.h @@ -141,6 +141,11 @@ #define TAR_DIR '5' #define TAR_NEW '8' +#define PHAR_MUNG_PHP_SELF (1<<0) +#define PHAR_MUNG_REQUEST_URI (1<<1) +#define PHAR_MUNG_SCRIPT_NAME (1<<2) +#define PHAR_MUNG_SCRIPT_FILENAME (1<<3) + typedef struct _phar_entry_fp phar_entry_fp; typedef struct _phar_archive_data phar_archive_data; @@ -149,7 +154,7 @@ ZEND_BEGIN_MODULE_GLOBALS(phar) /* for cached phars, this is a per-process store of fp/ufp */ phar_entry_fp *cached_fp; HashTable phar_alias_map; - HashTable phar_SERVER_mung_list; + int phar_SERVER_mung_list; int readonly; char* cache_list; int manifest_cached; @@ -197,6 +202,7 @@ ZEND_BEGIN_MODULE_GLOBALS(phar) char* last_alias; int last_alias_len; phar_archive_data* last_phar; + HashTable mime_types; ZEND_END_MODULE_GLOBALS(phar) ZEND_EXTERN_MODULE_GLOBALS(phar) |