diff options
author | Zeev Suraski <zeev@php.net> | 1999-04-10 13:32:47 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-04-10 13:32:47 +0000 |
commit | e3d2234b80aac5d8defcd6fe9407ab621ba13c86 (patch) | |
tree | f0b55ba690260a18b1b52e5ffc7d49bd5fa6dd48 /mod_php3.c | |
parent | 79f9f0ce8848ef2b2ad73c67350fba8b556c8d9d (diff) | |
download | php-git-e3d2234b80aac5d8defcd6fe9407ab621ba13c86.tar.gz |
A lot of php3_ini -> php_ini work
Diffstat (limited to 'mod_php3.c')
-rw-r--r-- | mod_php3.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/mod_php3.c b/mod_php3.c index 48d43138c7..e16fbf3ce1 100644 --- a/mod_php3.c +++ b/mod_php3.c @@ -303,9 +303,6 @@ static void *php3_merge_dir(pool *p, void *basev, void *addv) if (add->sendmail_path != orig.sendmail_path) new->sendmail_path = add->sendmail_path; if (add->sendmail_from != orig.sendmail_from) new->sendmail_from = add->sendmail_from; if (add->errors != orig.errors) new->errors = add->errors; - if (add->track_errors != orig.track_errors) new->track_errors = add->track_errors; - if (add->display_errors != orig.display_errors) new->display_errors = add->display_errors; - if (add->log_errors != orig.log_errors) new->log_errors = add->log_errors; if (add->doc_root != orig.doc_root) new->doc_root = add->doc_root; if (add->user_dir != orig.user_dir) new->user_dir = add->user_dir; if (add->track_vars != orig.track_vars) new->track_vars = add->track_vars; @@ -313,8 +310,6 @@ static void *php3_merge_dir(pool *p, void *basev, void *addv) if (add->isapi_ext != orig.isapi_ext) new->isapi_ext = add->isapi_ext; if (add->nsapi_ext != orig.nsapi_ext) new->nsapi_ext = add->nsapi_ext; if (add->include_path != orig.include_path) new->include_path = add->include_path; - if (add->auto_prepend_file != orig.auto_prepend_file) new->auto_prepend_file = add->auto_prepend_file; - if (add->auto_append_file != orig.auto_append_file) new->auto_append_file = add->auto_append_file; if (add->upload_tmp_dir != orig.upload_tmp_dir) new->upload_tmp_dir = add->upload_tmp_dir; if (add->upload_max_filesize != orig.upload_max_filesize) new->upload_max_filesize = add->upload_max_filesize; if (add->extension_dir != orig.extension_dir) new->extension_dir = add->extension_dir; @@ -347,9 +342,6 @@ char *php3flaghandler(cmd_parms * cmd, php3_ini_structure * conf, int val) int c = (int) cmd->info; switch (c) { - case 0: - conf->track_errors = val; - break; case 5: conf->track_vars = val; break; @@ -362,12 +354,6 @@ char *php3flaghandler(cmd_parms * cmd, php3_ini_structure * conf, int val) case 9: conf->last_modified = val; break; - case 10: - conf->log_errors = val; - break; - case 11: - conf->display_errors = val; - break; case 13: conf->enable_dl = val; break; @@ -427,20 +413,6 @@ char *php3take1handler(cmd_parms * cmd, php3_ini_structure * conf, char *arg) case 4: conf->include_path = pstrdup(cmd->pool, arg); break; - case 5: - if (strncasecmp(arg, "none", 4)) { - conf->auto_prepend_file = pstrdup(cmd->pool, arg); - } else { - conf->auto_prepend_file = ""; - } - break; - case 6: - if (strncasecmp(arg, "none", 4)) { - conf->auto_append_file = pstrdup(cmd->pool, arg); - } else { - conf->auto_append_file = ""; - } - break; case 7: conf->upload_tmp_dir = pstrdup(cmd->pool, arg); break; @@ -589,13 +561,10 @@ command_rec php3_commands[] = {"php3_dav_script", php3take1handler, (void *)20, OR_OPTIONS|RSRC_CONF, TAKE1, "Lets PHP handle DAV requests by parsing this script."}, #endif - {"php3_track_errors", php3flaghandler, (void *)0, OR_OPTIONS, FLAG, "on|off"}, {"php3_track_vars", php3flaghandler, (void *)5, OR_OPTIONS, FLAG, "on|off"}, {"php3_engine", php3flaghandler, (void *)7, RSRC_CONF|ACCESS_CONF, FLAG, "on|off"}, {"php3_xbithack", php3flaghandler, (void *)8, OR_OPTIONS, FLAG, "on|off"}, {"php3_last_modified", php3flaghandler, (void *)9, OR_OPTIONS, FLAG, "on|off"}, - {"php3_log_errors", php3flaghandler, (void *)10, OR_OPTIONS, FLAG, "on|off"}, - {"php3_display_errors", php3flaghandler, (void *)11, OR_OPTIONS, FLAG, "on|off"}, {"php3_enable_dl", php3flaghandler, (void *)13, RSRC_CONF|ACCESS_CONF, FLAG, "on|off"}, {NULL} }; |