You are here

function performance_url in Performance Logging and Monitoring 5

2 calls to performance_url()
performance_view_details in ./performance.module
performance_view_summary in ./performance.module

File

./performance.module, line 551

Code

function performance_url($path = '', $title = '') {
  if (variable_get('performance_titles', 0)) {

    // Show titles
    $ret = $title ? l($title, $path) : l($path, $path);
    return $ret;
  }
  else {

    // Show URLs only
    return $path;
  }
}