Changeset 170

Show
Ignore:
Timestamp:
09/17/08 16:31:55 (23 months ago)
Author:
izzy
Message:

+ allowing to define a different config file defined by the constant IMDBPHP_CONFIG (see ticket #39)

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/doc/CHANGELOG

    r168 r170  
    55+ added the imdbXML class provided by Pablo Castorino (thanx Pablo!) 
    66! fixed rating (due to IMDB site changes). Tnx to sourcer for the patch! 
     7+ allowing to define a different config file defined by the constant IMDBPHP_CONFIG 
    78 
    89v1.0.7 (02.09.2008) 
  • trunk/imdb_base.class.php

    r155 r170  
    1313 
    1414 require_once (dirname(__FILE__)."/browseremulator.class.php"); 
    15  require_once (dirname(__FILE__)."/imdb_config.class.php"); 
     15 if (defined('IMDBPHP_CONFIG')) require_once (IMDBPHP_CONFIG); 
     16 else require_once (dirname(__FILE__)."/imdb_config.class.php"); 
    1617 require_once (dirname(__FILE__)."/imdb_request.class.php"); 
    1718