You are here

function coder_upgrade_patch_path in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_upgrade/includes/conversion.inc \coder_upgrade_patch_path()

Returns path to patch file.

Parameters

string $filename: String of the patch filename.

Return value

string Path to file.

File

coder_upgrade/includes/conversion.inc, line 626

Code

function coder_upgrade_patch_path($filename) {
  static $dirname = '';
  if (!$dirname) {
    $dirname = coder_upgrade_directory_path('patch');
  }
  return $dirname . "{$filename}";
}