Changeset 805

Show
Ignore:
Timestamp:
01/17/07 13:41:21 (2 years ago)
Author:
ben
Message:

phpThumb now allows thumbnails to be linked from any site.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/lib/phpthumb/phpThumb.config.php

    r423 r805  
    155155 
    156156// * Off-server Linking Configuration: 
    157 $PHPTHUMB_CONFIG['nooffsitelink_enabled']       = true;                                       // If false will allow thumbnails to be linked to from any domain, if true only domains listed below in 'nooffsitelink_valid_domains' will be allowed. 
     157$PHPTHUMB_CONFIG['nooffsitelink_enabled']       = false;                                       // If false will allow thumbnails to be linked to from any domain, if true only domains listed below in 'nooffsitelink_valid_domains' will be allowed. 
    158158$PHPTHUMB_CONFIG['nooffsitelink_valid_domains'] = array(@$_SERVER['HTTP_HOST']);              // This is the list of domains for which thumbnails are allowed to be created. The default value of the current domain should be fine in most cases, but if neccesary you can add more domains in here, in the format 'www.example.com' 
    159159$PHPTHUMB_CONFIG['nooffsitelink_require_refer'] = false;                                      // If false will allow standalone calls to phpThumb(). If true then only requests with a $_SERVER['HTTP_REFERER'] value in 'nooffsitelink_valid_domains' are allowed.