diff --git a/e107_admin/plugin.php b/e107_admin/plugin.php
index 48a9354c7..97b85ee7e 100644
--- a/e107_admin/plugin.php
+++ b/e107_admin/plugin.php
@@ -643,10 +643,16 @@ class pluginManager{
//
$modalCaption = (!empty($data['plugin_price'])) ? EPL_ADLAN_92." ".$data['plugin_name']." ".$data['plugin_version'] : EPL_ADLAN_230." ".$data['plugin_name']." ".$data['plugin_version'];
- $url = e_SELF.'?mode=download&src='.base64_encode($d);
+ $url = e_SELF.'?mode=download&src='.base64_encode($d);
$dicon = ''.ADMIN_INSTALLPLUGIN_ICON.'';
-
-
+
+
+ // $base64 = base64_encode($d);
+ // $tmp = base64_decode($base64);
+ // parse_str($tmp, $data);
+
+ // e107::getDebug()->log($data); //FIXME - enable when needed to debug.
+
// Temporary Pop-up version.
// $dicon = '
';
@@ -670,6 +676,18 @@ class pluginManager{
$string = base64_decode($_GET['src']);
parse_str($string, $data);
+ if(e_DEBUG === true)
+ {
+ echo "DEBUG MODE ACTIVE (no downloading)
";
+ echo '$_GET[src]: ';
+ print_a($_GET['src']);
+
+ echo 'base64 decoded and parsed as $data:';
+ print_a($data);
+ return false;
+ }
+
+
if(!empty($data['plugin_price']))
{
e107::getRedirect()->go($data['plugin_url']);