mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
@Added -C command-line option to avoid chdir to the script's directory (Stig)
This commit is contained in:
parent
f35cef5928
commit
0b2641efa6
3 changed files with 12 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue