summaryrefslogtreecommitdiff
path: root/ext/ereg
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-02-10 19:41:21 +0000
committerZeev Suraski <zeev@php.net>2000-02-10 19:41:21 +0000
commit6d0ab6166cc1a4eca90211cdfa0ca144704ad677 (patch)
treeee2b2758afeb47bf3a9648c0067d9b747b91e5b2 /ext/ereg
parent9709f7ec73557e0a1a85ad3fbc4c73806de50620 (diff)
downloadphp-git-6d0ab6166cc1a4eca90211cdfa0ca144704ad677.tar.gz
SAPIfication, Episode VI: Return of the SAPI
Remove mostly all references to APACHE and CGI_BINARY from the code. - Apache include files are no longer included by any PHP code, except for the Apache SAPI module. - No server specific code is in any of the base PHP code. Still left to be done: - Eliminate any references to APACHE from the few remaining modules. - Move request_info.c's logic to SAPI - Modify the regex function names, and globals, so that we can always include them, without having to fear any interference with Apache; Always use the bundled regex library
Diffstat (limited to 'ext/ereg')
-rw-r--r--ext/ereg/php_regex.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/ereg/php_regex.h b/ext/ereg/php_regex.h
index be0f445af7..f4dc865163 100644
--- a/ext/ereg/php_regex.h
+++ b/ext/ereg/php_regex.h
@@ -5,10 +5,9 @@
* REGEX means:
* 0.. system regex
* 1.. bundled regex
- * 2.. Apache's regex
*/
-#if REGEX == 1
+#if REGEX
/* get aliases */
#include "regex/regex_extra.h"
#include "regex/regex.h"