We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f691308 commit 6c352d8Copy full SHA for 6c352d8
server/php/UploadHandler.php
@@ -1,6 +1,6 @@
1
<?php
2
/*
3
- * jQuery File Upload Plugin PHP Class 8.3.2
+ * jQuery File Upload Plugin PHP Class 8.3.3
4
* https://github.com/blueimp/jQuery-File-Upload
5
*
6
* Copyright 2010, Sebastian Tschan
@@ -43,7 +43,7 @@ class UploadHandler
43
function __construct($options = null, $initialize = true, $error_messages = null) {
44
$this->response = array();
45
$this->options = array(
46
- 'script_url' => $this->get_full_url().'/',
+ 'script_url' => $this->get_full_url().'/'.basename($this->get_server_var('SCRIPT_NAME')),
47
'upload_dir' => dirname($this->get_server_var('SCRIPT_FILENAME')).'/files/',
48
'upload_url' => $this->get_full_url().'/files/',
49
'user_dirs' => false,
0 commit comments