1
0
mirror of https://github.com/php/phd.git synced 2026-03-23 22:52:05 +01:00

My face is red. $ only works in SVN. $ works in both.

This commit is contained in:
Gwynne Raskind
2008-07-10 16:56:45 +00:00
parent e3ccfd6975
commit ecb9be6ee9
4 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
#!@php_bin@
<?php
/* $Id$ */
$base_revision = '$Rev$';
$base_revision = '$Revision$';
/* {{{ Find the $ROOT directory of PhD. @php_dir@ will be replaced by the PEAR
package manager. If for some reaosn this hasn't happened, fallback to the

View File

@@ -82,7 +82,7 @@ abstract class PhDCommonOptionsParser extends PhDOptionParser
{
$color = PhDConfig::phd_info_color();
$output = PhDConfig::phd_info_output();
$rev = preg_replace('/\$Re[v](: ([\d.]+) ?)?\$$/e', "'\\1' == '' ? '??' : '\\2'", $GLOBALS['base_revision']);
$rev = preg_replace('/\$Re[v](?:ision)?(: ([\d.]+) ?)?\$$/e', "'\\1' == '' ? '??' : '\\2'", $GLOBALS['base_revision']);
fprintf($output, "%s\n", term_color($this->getTitleText(), $color));
fprintf($output, "%s\n", term_color("PhD Version: " . PHD_VERSION . " (" . $rev . ")", $color));
fprintf($output, "%s\n", term_color("Copyright(c) 2008 The PHP Documentation Group", $color));

View File

@@ -1,7 +1,7 @@
#!@php_bin@
<?php
/* $Id$ */
$base_revision = '$Rev$';
$base_revision = '$Revision$';
/* {{{ Find the $ROOT directory of PhD
@php_dir@ will be replaced by the pear package manager

View File

@@ -1,7 +1,7 @@
#!@php_bin@
<?php
/* $Id$ */
$base_revision = '$Rev$';
$base_revision = '$Revision$';
/* {{{ Find the $ROOT directory of PhD. @php_dir@ will be replaced by the PEAR
package manager. If for some reaosn this hasn't happened, fallback to the