Changeset 339

Show
Ignore:
Timestamp:
02/27/10 21:39:15 (5 months ago)
Author:
izzy
Message:

! another IMDB site change broke imdb::alsoknow() - see ticket #124

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/doc/CHANGELOG

    r337 r339  
    77------------------- 
    88! imdb::releaseInfo() was also partly affected by the last IMDB site changes 
     9! another IMDB site change broke imdb::alsoknow() 
    910 
    1011v1.9.9 (24.02.2010) 
  • trunk/mdb_request.class.php

    r236 r339  
    4646      $this->BrowserEmulator(); 
    4747      $this->urltoopen = $url; 
     48      if ( substr(get_class($this),0,4)=="imdb" ) $this->addHeaderLine('Referer','http://' . $this->imdbsite . '/'); 
    4849    } 
    4950    /** Send a request to the IMDB site