diff options
| author | Derick Rethans <derick@php.net> | 2002-02-14 20:16:08 +0000 |
|---|---|---|
| committer | Derick Rethans <derick@php.net> | 2002-02-14 20:16:08 +0000 |
| commit | 86fa2d39379752044287530f31f21532380eeb19 (patch) | |
| tree | 6e548f359e090c21cff3472c3d0330b28894e950 /sapi/pi3web | |
| parent | 48f688a261e0dc1d2fcbb418090ce9b8b6de9399 (diff) | |
| download | php-git-86fa2d39379752044287530f31f21532380eeb19.tar.gz | |
- Let php_execute_script return 0 on failure and 1 on sucess, and change
SAPIs accordingly. (Andrei, Derick)
Diffstat (limited to 'sapi/pi3web')
| -rw-r--r-- | sapi/pi3web/pi3web_sapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/pi3web/pi3web_sapi.c b/sapi/pi3web/pi3web_sapi.c index 10394acc65..cbfcef3f0f 100644 --- a/sapi/pi3web/pi3web_sapi.c +++ b/sapi/pi3web/pi3web_sapi.c @@ -391,7 +391,7 @@ DWORD PHP4_wrapper(LPCONTROL_BLOCK lpCB) switch ( lpCB->dwBehavior ) { case PHP_MODE_STANDARD: - iRet = ( php_execute_script( &file_handle TSRMLS_CC ) == SUCCESS ) ? + iRet = ( php_execute_script( &file_handle TSRMLS_CC ) ) ? PIAPI_COMPLETED : PIAPI_ERROR; break; case PHP_MODE_HIGHLIGHT: { |
