summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2005-09-12 00:10:41 +0200
committerAndreas Gohr <andi@splitbrain.org>2005-09-12 00:10:41 +0200
commit0647ce3bb66a75de20cf6d9bfaacdc483ab21e5d (patch)
treee7263adf02de966f38613762c8da590e1ac4e96d
parent60f11ea566e4d70871aab2f8c4e659b8a5214702 (diff)
downloadrpg-0647ce3bb66a75de20cf6d9bfaacdc483ab21e5d.tar.gz
rpg-0647ce3bb66a75de20cf6d9bfaacdc483ab21e5d.tar.bz2
always read VERSION from DOKU_INC
darcs-hash:20050911221041-7ad00-0e40a42e73cc32813f315f84565749d61b604a7d.gz
-rw-r--r--inc/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php
index 9d108d77c..a539ad208 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -926,7 +926,7 @@ function getVersion(){
//import version string
if(@file_exists('VERSION')){
//official release
- return 'Release '.trim(io_readfile('VERSION'));
+ return 'Release '.trim(io_readfile(DOKU_INC.'/VERSION'));
}elseif(is_dir('_darcs')){
//darcs checkout
$inv = file('_darcs/inventory');