At first make a decent back-up of your existing files!!
Then....
In js/browser/toolbar.js
replace
with
in core/browser.php
just replace the complete function act_upload with
Replace core/uploader.php with the attached file (uploader.zip)
Then....
In js/browser/toolbar.js
replace
'<input type="file" name="upload" onchange="browser.uploadFile(this.form)" style="height:' + height + 'px" />' + '<input type="hidden" name="dir" value="" />' +
with
'<input type="file" multiple="" name="upload[]" onchange="browser.uploadFile(this.form)" style="height:' + height + 'px" />' + '<input type="hidden" name="dir" value="" />' +
in core/browser.php
just replace the complete function act_upload with
protected function act_upload() {
if ($this->config['readonly'] || !isset($this->post['dir']))
$this->errorMsg("Unknown error.");
$dir = $this->postDir();
if (!dir::isWritable($dir))
$this->errorMsg("Cannot access or write to upload folder.");
$message = $this->checkUploadedFile();
}
Replace core/uploader.php with the attached file (uploader.zip)
