]> git.mjollnir.org Git - s9y.git/commitdiff
Fixed permalink style in voodoopad importer
authorfraccy <fraccy>
Thu, 30 Jun 2005 07:46:31 +0000 (07:46 +0000)
committerfraccy <fraccy>
Thu, 30 Jun 2005 07:46:31 +0000 (07:46 +0000)
include/admin/importers/voodoopad.inc.php

index a131801eff42c11aebd35b41d77d0c7a51b5a954..8a682cd71d399ac16db314a9f063e644c00f4c14 100644 (file)
@@ -139,9 +139,8 @@ class Serendipity_Import_VoodooPad extends Serendipity_Import {
                     }
     
                     $thispage['filename']  = $mykey;
-                    // FIXME: Use real permalink specified for that file; users without mod_rewrite or not using this will get errors.
-                    // Suggestion: use index.php?serendipity[subpage]=XXX, it works on all systems.
-                    $thispage['permalink'] = $serendipity['serendipityHTTPPath'] . 'pages/' . $mykey .'.htm';
+                    // Thanks for pointing this out to me and not just fixing it, I'm learning.
+                   $thispage['permalink'] = $serendipity['serendipityHTTPPath'] . 'index.php?serendipity[subpage]=' . $mykey .'.htm';
                     break;
 
                 case 'alias': // The title and the string used to match links
@@ -265,4 +264,4 @@ function character_data_handler($parser, $data){
 }
 
 return 'Serendipity_Import_VoodooPad';
-?>
\ No newline at end of file
+?>