fix process
This commit is contained in:
parent
763001625b
commit
5f8bff123b
@ -35,9 +35,6 @@ if (!defined('NOREQUIREAJAX')) {
|
|||||||
if (!defined('NOREQUIRESOC')) {
|
if (!defined('NOREQUIRESOC')) {
|
||||||
define('NOREQUIRESOC', '1');
|
define('NOREQUIRESOC', '1');
|
||||||
}
|
}
|
||||||
if (!defined('NOCSRFCHECK')) {
|
|
||||||
define('NOCSRFCHECK', '1');
|
|
||||||
}
|
|
||||||
// If there is no need to load and show top and left menu
|
// If there is no need to load and show top and left menu
|
||||||
if (!defined("NOLOGIN")) {
|
if (!defined("NOLOGIN")) {
|
||||||
define("NOLOGIN", '1');
|
define("NOLOGIN", '1');
|
||||||
|
|||||||
@ -109,7 +109,7 @@ print '<br><br>'."\n";
|
|||||||
|
|
||||||
// Test6a: Upload of big files
|
// Test6a: Upload of big files
|
||||||
print "Test 6a: Upload of big files<br>\n";
|
print "Test 6a: Upload of big files<br>\n";
|
||||||
print "The file will be uploaded in the directory: documents/test_form/temp/<br>\n";
|
print "The file will be uploaded in the directory: documents/test/temp/<br>\n";
|
||||||
|
|
||||||
if (is_file(DOL_DOCUMENT_ROOT.'/includes/flowjs/flow.js')) {
|
if (is_file(DOL_DOCUMENT_ROOT.'/includes/flowjs/flow.js')) {
|
||||||
print '<button id="buttonbigupload" type="button">Browse...</button>';
|
print '<button id="buttonbigupload" type="button">Browse...</button>';
|
||||||
@ -121,7 +121,7 @@ if (is_file(DOL_DOCUMENT_ROOT.'/includes/flowjs/flow.js')) {
|
|||||||
jQuery(document).ready(function() {
|
jQuery(document).ready(function() {
|
||||||
var flow = new Flow({
|
var flow = new Flow({
|
||||||
target:"'.DOL_URL_ROOT.'/core/ajax/flowjs-server.php",
|
target:"'.DOL_URL_ROOT.'/core/ajax/flowjs-server.php",
|
||||||
query:{module:"test_form"},
|
query:{module:"test", token:"'.newToken().'"},
|
||||||
testChunks:false
|
testChunks:false
|
||||||
});
|
});
|
||||||
';
|
';
|
||||||
@ -166,7 +166,7 @@ if (is_file(DOL_DOCUMENT_ROOT.'/includes/flowjs/flow.js')) {
|
|||||||
';
|
';
|
||||||
print '</script>';
|
print '</script>';
|
||||||
} else {
|
} else {
|
||||||
print "If this message displays, please add flow.js file which can be found here :https://github.com/flowjs/flow.js and place the js lib in htdocs/includes/flowjs/<br>\n";
|
print "If this message displays, please add flow.js and flow.min.js files which can be found here: https://github.com/flowjs/flow.js and place the js lib in htdocs/includes/flowjs/<br>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user