From 0647ce3bb66a75de20cf6d9bfaacdc483ab21e5d Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 12 Sep 2005 00:10:41 +0200 Subject: always read VERSION from DOKU_INC darcs-hash:20050911221041-7ad00-0e40a42e73cc32813f315f84565749d61b604a7d.gz --- inc/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc') 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'); -- cgit v1.2.3