equal
deleted
inserted
replaced
506 } |
506 } |
507 |
507 |
508 // fork off if possible |
508 // fork off if possible |
509 if ( function_exists('pcntl_fork') && $this->allow_fork && !$this->in_keepalive ) |
509 if ( function_exists('pcntl_fork') && $this->allow_fork && !$this->in_keepalive ) |
510 { |
510 { |
511 if ( $this->threader->fork() == FORK_CHILD ) |
511 if ( $this->threader->fork() == Threader::FORK_CHILD ) |
512 { |
512 { |
513 // this is the child |
513 // this is the child |
514 define('HTTPD_WS_CHILD', 1); |
514 define('HTTPD_WS_CHILD', 1); |
515 } |
515 } |
516 else |
516 else |