includes/wikiengine/Parse/Mediawiki/Wikilink.php
changeset 72 bda11e521e8a
parent 35 efae425e9b98
--- 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)) {