@Added -C command-line option to avoid chdir to the script's directory (Stig)

This commit is contained in:
Stig Bakken 2001-04-16 23:20:47 +00:00
parent f35cef5928
commit 0b2641efa6
3 changed files with 12 additions and 3 deletions

View file

@ -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;