408
408
* if an appropriate file could not be located or generated
410
410
function get_dataroot_image_path($path, $id, $size=null) {
411
412
$dataroot = get_config('dataroot');
412
413
$imagepath = $dataroot . $path;
413
414
if (substr($imagepath, -1) == '/') {