function _imceimage_image_to_filepath in Imce CCK Image 6
Same name and namespace in other branches
- 6.2 imceimage.module \_imceimage_image_to_filepath()
helper function to find out file location from an URL.
3 calls to _imceimage_image_to_filepath()
- imceimage_field in ./
imceimage.module - hook_field() implementation
- imceimage_verify in ./
imceimage.module - Verify that the file is a valid image
- theme_imceimage_image in ./
imceimage.module - Theme an image
File
- ./
imceimage.module, line 668
Code
function _imceimage_image_to_filepath($url) {
$doc_root = $_SERVER['DOCUMENT_ROOT'];
$file_path = $doc_root . '/' . $url;
return $file_path;
}