File: cvsrev.php

package info (click to toggle)
php-doc 20061001-1
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 45,764 kB
  • ctags: 1,611
  • sloc: xml: 502,485; php: 7,645; cpp: 500; makefile: 297; perl: 161; sh: 141; awk: 28
file content (16 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

# add cvs Revision: tags where missing

function apply($input) {
	if( strstr($input, '$Revision: ')) {
		return false;
	}

	list($head, $rest) = explode("\n", $input, 2);

	return $head."\n".'<!-- $Revision: 1.1 $ -->'."\n".$rest;
}

?>