Hi guys,

I am getting the following in ZF 1.7.1:

Error Number: 2
Error Type: PHP WARNING
Error String: strstr(): Empty delimiter.
Error File: /path/to/my/site/library/Zend/Controller/Request/Http.php
Error Line: 393

The line is:

if (isset($_SERVER['HTTP_HOST']) && strstr($requestUri,
$_SERVER['HTTP_HOST'])) {

I am running a PHP file from the command line, it has:

$_SERVER['REQUEST_URI'] = '/transcode/';
$_SERVER['HTTP_HOST'] = '';
// Bootstrap code etc. etc.

This worked in 1.7.0...should I change my code or should ZF be changed?

Cheers,
Steven


Reply via email to