diff -r 21770a1a5213 -r bda11e521e8a includes/wikiengine/Parse/Mediawiki/Wikilink.php --- a/includes/wikiengine/Parse/Mediawiki/Wikilink.php Sun Jul 15 11:41:06 2007 -0400 +++ b/includes/wikiengine/Parse/Mediawiki/Wikilink.php Sat Jul 21 11:28:59 2007 -0400 @@ -101,10 +101,20 @@ $default = $this->conf; parent::Text_Wiki_Parse($obj); - global $paths; - $this->imageConf = array( - 'prefix' => array(':' . $paths->nslist['File']) - ); + if ( defined('IN_ENANO_INSTALL') ) + { + // This doesn't really matter in the installer + $this->imageConf = array( + 'prefix' => array(':File:') + ); + } + else + { + global $paths; + $this->imageConf = array( + 'prefix' => array(':' . $paths->nslist['File']) + ); + } // override config options for image if specified if (in_array('Image', $this->wiki->disable)) {