Same name and namespace in other branches
  1. 4.6.x includes/common.inc \check_file()
  2. 4.7.x includes/common.inc \check_file()
  3. 6.x includes/common.inc \check_file()

Related topics

File

includes/common.inc, line 982
Common functions that many Drupal modules will need to reference.

Code

function check_file($filename) {
  return is_uploaded_file($filename);
}