diff options
| author | Christian Stocker <chregu@php.net> | 2011-10-10 07:59:19 +0000 |
|---|---|---|
| committer | Christian Stocker <chregu@php.net> | 2011-10-10 07:59:19 +0000 |
| commit | 65ee77c4b05af36710024a4de0ab00f86cc7b70f (patch) | |
| tree | 62ed65ff9b530e01319dcda238b5054f3128e772 /ext/xsl/php_xsl.h | |
| parent | 280a177a97dacba77c91f8aab69f2cfcc7184f4f (diff) | |
| download | php-git-65ee77c4b05af36710024a4de0ab00f86cc7b70f.tar.gz | |
Added the xsl.security_prefs option to 5_4 and trunk and
mark it as deprecated for BC-reasons
Added tests for ini option and combination of both
Diffstat (limited to 'ext/xsl/php_xsl.h')
| -rw-r--r-- | ext/xsl/php_xsl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/xsl/php_xsl.h b/ext/xsl/php_xsl.h index 8782077413..40f5361a12 100644 --- a/ext/xsl/php_xsl.h +++ b/ext/xsl/php_xsl.h @@ -50,6 +50,8 @@ extern zend_module_entry xsl_module_entry; #define XSL_SECPREF_CREATE_DIRECTORY 8 #define XSL_SECPREF_READ_NETWORK 16 #define XSL_SECPREF_WRITE_NETWORK 32 +/* Default == disable all write access == XSL_SECPREF_WRITE_NETWORK | XSL_SECPREF_CREATE_DIRECTORY | XSL_SECPREF_WRITE_FILE */ +#define XSL_SECPREF_DEFAULT 44 typedef struct _xsl_object { zend_object std; @@ -64,6 +66,7 @@ typedef struct _xsl_object { php_libxml_node_object *doc; char *profiling; long securityPrefs; + int securityPrefsSet; } xsl_object; void php_xsl_set_object(zval *wrapper, void *obj TSRMLS_DC); |
