Changeset 11

Show
Ignore:
Timestamp:
02/11/06 16:44:34 (3 years ago)
Author:
hans
Message:

Moved VERSION.TXT into top-level etc/ dir.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.2/classes/phing/Phing.php

    r1 r11  
    667667 
    668668    function getPhingVersion() { 
    669         $versionPath = self::getResourcePath("phing/VERSION.TXT"); 
     669        $versionPath = self::getResourcePath("phing/etc/VERSION.TXT"); 
     670                if ($versionPath === null) { 
     671                    $versionPath = self::getResourcePath("etc/VERSION.TXT"); 
     672                } 
    670673        try { // try to read file 
    671674            $buffer = null; 
  • trunk/classes/phing/Phing.php

    r1 r11  
    667667 
    668668    function getPhingVersion() { 
    669         $versionPath = self::getResourcePath("phing/VERSION.TXT"); 
     669                $versionPath = self::getResourcePath("phing/etc/VERSION.TXT"); 
     670                if ($versionPath === null) { 
     671                    $versionPath = self::getResourcePath("etc/VERSION.TXT"); 
     672                } 
    670673        try { // try to read file 
    671674            $buffer = null;