SCENARIO TEST : fix bug in export logging
This commit is contained in:
parent
6601947f7d
commit
6e27a21ea9
2 changed files with 5 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue