summaryrefslogtreecommitdiff
path: root/sapi/apache/mod_php4.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-08-20 14:29:00 +0000
committerSascha Schumann <sas@php.net>2000-08-20 14:29:00 +0000
commit1d68a02df36170851b4c3e72faea43129022642e (patch)
tree30e9672cd229cac4cd65dce9f06d8fbf9474a446 /sapi/apache/mod_php4.c
parent320105bcd8540a6673e54106c03d569249af48f9 (diff)
downloadphp-git-1d68a02df36170851b4c3e72faea43129022642e.tar.gz
The status quo in PHP is that the current directory is initialized
to the directory where the executing script is located. Since this needs to be implemented for all SAPI modules anyway, this change moves the functionality to php_execute_script() and gets rid of the per-module code.
Diffstat (limited to 'sapi/apache/mod_php4.c')
-rw-r--r--sapi/apache/mod_php4.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c
index 682d3eedfe..9999e0fdaa 100644
--- a/sapi/apache/mod_php4.c
+++ b/sapi/apache/mod_php4.c
@@ -496,7 +496,6 @@ int send_php(request_rec *r, int display_source_mode, char *filename)
SG(server_context) = r;
php_save_umask();
- V_CHDIR_FILE(filename);
add_common_vars(r);
add_cgi_vars(r);