15 lines
302 B
Plaintext
15 lines
302 B
Plaintext
<?php
|
|
// $Id$
|
|
|
|
/**
|
|
* @file
|
|
* Provides Image module hook implementations for testing purposes.
|
|
*/
|
|
|
|
function image_module_test_file_download($uri) {
|
|
if (variable_get('image_module_test_file_download', FALSE) == $uri) {
|
|
return array('X-Image-Owned-By' => 'image_module_test');
|
|
}
|
|
return -1;
|
|
}
|