diff options
author | andi <andi@splitbrain.org> | 2005-05-04 21:22:03 +0200 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-05-04 21:22:03 +0200 |
commit | 0b7c14c22e9810803e87a882cd9b3597b27fe74f (patch) | |
tree | 43dde0f97781012af5f9d0d7eb8c263ff6a9a28a /inc/pageutils.php | |
parent | 0339c8721982fc3a843306c03cd8882e6aebc863 (diff) | |
download | rpg-0b7c14c22e9810803e87a882cd9b3597b27fe74f.tar.gz rpg-0b7c14c22e9810803e87a882cd9b3597b27fe74f.tar.bz2 |
local links added #297
darcs-hash:20050504192203-9977f-004cc04b0753fc5d36d4515519c54039e73e77de.gz
Diffstat (limited to 'inc/pageutils.php')
-rw-r--r-- | inc/pageutils.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/pageutils.php b/inc/pageutils.php index 488d268fe..fdece44e4 100644 --- a/inc/pageutils.php +++ b/inc/pageutils.php @@ -188,6 +188,7 @@ function resolve_mediaid($ns,&$page,&$exists){ */ function resolve_pageid($ns,&$page,&$exists){ global $conf; + $exists = false; //if links starts with . add current namespace if($page{0} == '.'){ @@ -206,8 +207,6 @@ function resolve_pageid($ns,&$page,&$exists){ $file = wikiFN($page); - $exists = false; - //check alternative plural/nonplural form if(!@file_exists($file)){ if( $conf['autoplural'] ){ |