mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 05:39:58 +09:00
Issue 1228 , If SSL setting is 'always', set upload_url as request_uri (maybe HTTPS).
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11651 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1bf42a3370
commit
48a70b6b47
1 changed files with 5 additions and 0 deletions
|
|
@ -88,6 +88,11 @@ function start(cfg) {
|
|||
uploaderStatusID : cfg.uploaderStatusID
|
||||
};
|
||||
|
||||
if(typeof(enforce_ssl)!=="undefined" && enforce_ssl)
|
||||
{
|
||||
settings.upload_url = request_uri+'index.php';
|
||||
};
|
||||
|
||||
// preview
|
||||
$('#'+cfg.fileListAreaID).click(previewFiles);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue