diff --git a/html/export.php b/html/export.php
index 1e70f720b..b5faeb100 100644
--- a/html/export.php
+++ b/html/export.php
@@ -69,7 +69,7 @@ if ( LOGINPUT)
fwrite($file_loginput,"\n");
fwrite($file_loginput,' $_REQUEST=array_merge($_GET,$_POST);');
fwrite($file_loginput,"\n");
- fwrite($file_loginput,' require_once NOALYSS_INCLUDE."/export/$prfile";');
+ fwrite($file_loginput,' require_once NOALYSS_INCLUDE."/export/'.$prfile.'";');
fwrite($file_loginput,"\n");
fclose($file_loginput);
}
diff --git a/html/extension.raw.php b/html/extension.raw.php
index 784507e33..462d0661c 100644
--- a/html/extension.raw.php
+++ b/html/extension.raw.php
@@ -71,10 +71,13 @@ if ( $ext->search($http->request("plugin_code")) != -1 )
fwrite($file_loginput,"\n");
fwrite($file_loginput,' $_REQUEST=array_merge($_GET,$_POST);');
fwrite($file_loginput,"\n");
+ $string='require_once "'.NOALYSS_PLUGIN.DIRECTORY_SEPARATOR.dirname(trim($ext->getp('me_file'))).DIRECTORY_SEPARATOR.'raw.php'.'";';
+ fwrite($file_loginput,sprintf("%s",$string));
+ fwrite($file_loginput,"\n");
fclose($file_loginput);
}
/* call the ajax script */
- require_once(NOALYSS_PLUGIN.DIRECTORY_SEPARATOR.dirname(trim($ext->getp('me_file'))).DIRECTORY_SEPARATOR.'raw.php');
+ require_once NOALYSS_PLUGIN.DIRECTORY_SEPARATOR.dirname(trim($ext->getp('me_file'))).DIRECTORY_SEPARATOR.'raw.php';
}
else
{