summaryrefslogtreecommitdiff
path: root/main/SAPI.h
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>2001-04-16 23:20:47 +0000
committerStig Bakken <ssb@php.net>2001-04-16 23:20:47 +0000
commit0b2641efa6a87d765b936ca5deebc12b554a9652 (patch)
tree9c7c31433da8047cc300c291826d09a8c9f919f3 /main/SAPI.h
parentf35cef5928dae36331392f038602653e4da52b02 (diff)
downloadphp-git-0b2641efa6a87d765b936ca5deebc12b554a9652.tar.gz
@Added -C command-line option to avoid chdir to the script's directory (Stig)
Diffstat (limited to 'main/SAPI.h')
-rw-r--r--main/SAPI.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/SAPI.h b/main/SAPI.h
index 535f24334f..a9ce5922ae 100644
--- a/main/SAPI.h
+++ b/main/SAPI.h
@@ -25,6 +25,8 @@
#include "zend_operators.h"
#include <sys/stat.h>
+#define SAPI_OPTION_NO_CHDIR 1
+
#define SAPI_POST_BLOCK_SIZE 4000
#ifdef PHP_WIN32
@@ -109,6 +111,7 @@ typedef struct {
char *default_charset;
HashTable *rfc1867_uploaded_files;
long post_max_size;
+ int options;
} sapi_globals_struct;