Handlers
Summary
Use this setting to define which handler to use.
Usage
Handlers[<handler name>]=<class name handler>
Description
Use this setting to define which handler to use.
Use the name of the handler as key:
- Use [gzip] when using the generic gzip handler
- Use [gziplib] or [gzibshell] when using a specific gzip handler
The values are the class names of the handlers available at lib/ezfile/classes:
- "ezgzipzlibcompressionhandler" handles files compressed with gzip using the zlib extension. More information on the zlib extension can be found here: http://www.php.net/manual/en/ref.zlib.php
- "ezgzipshellcompressionhandler" handles files compressed with gzip using the shell commands. It will handle GZIP compression by executing the 'gzip' executable, without this executable the handler can't work.
- "ezgzipcompressionhandler" handles files compressed with gzip. This handler is a wrapper of the "eZGZIPZLIBCompressionHandler" and "eZGZIPShellCompressionHandler".
This setting is case sensitive.
Examples
Handlers[gzip]=ezgzipcompressionhandler Handlers[gzipzlib]=ezgzipzlibcompressionhandler Handlers[gzipshell]=ezgzipshellcompressionhandler
Contributors
- Ester Heylen Maintainer
- Ricardo Correia Updated Maintainer
Comments
Add a comment