guest user is not allowed to access this page!!'); } $uuid = required_param('uuid', PARAM_TEXT); $course_id = optional_param('course', '1', PARAM_INT); if (!isGUID($uuid)) exit('

bad asset uuid!! ('.htmlspecialchars($uuid).')

'); if (!$course_id) $course_id = 1; $xsize = optional_param('xsize', '0', PARAM_INT); $ysize = optional_param('ysize', '0', PARAM_INT); $prog = env_get_config('image_processor_jp2'); $cache = CMS_MODULE_PATH.'/helper/texture_cache'; $ret = opensim_display_texture_data($uuid, $prog, $xsize, $ysize, $cache, true); if (!$ret) exit();