Jump to content
MakeWebGames

Export Module Package [ FIX ] for Templates and Fonts


Uridium

Recommended Posts

There seems to be an issue with export module package where by you can export modules but not the templates or the fonts so here a temporary fix till alain looks into it...

so open up modules/admin_export_package/content.php

and you will see from lines 18-22

 

if (! in_array($_POST['moduleName'], $modules))
   {
       header("Location: index.php");
       return;
   }

 

for now just do this

 

/*if (! in_array($_POST['moduleName'], $modules))
   {
       header("Location: index.php");
       return;
   }*/

 

and you should now be able to export modules, templates and fonts.....

TESTED and WORKING.....

Link to comment
Share on other sites

Well, its not letting you download it because $_POST['moduleName'] is not in $modules.

And if what i gave you is not displaying anything for you but just an empty Array( ) then $modules, might just be empty, or being unset somewhere. But dont take my word for it, i have not even looked over the engine :P

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...