comment_node_url

Definition

comment_node_url()
files/drupal-6.7/modules/comment/comment.module, line 675

Description

A simple helper function.

Return value

The 0th and the 1st path components joined by a slash.

Code

<?php
function comment_node_url() {
  return arg(0) .'/'. arg(1);
}
?>