projects
/
acontent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b840a91
)
4875: give more useful error message to user
issue_4875
author
TJ
<acontent@iam.tj>
Sat, 8 Oct 2011 23:56:52 +0000
(
00:56
+0100)
committer
TJ
<acontent@iam.tj>
Fri, 21 Oct 2011 15:24:16 +0000
(16:24 +0100)
home/ims/ims_import.php
patch
|
blob
|
history
diff --git
a/home/ims/ims_import.php
b/home/ims/ims_import.php
index
0d0fba1
..
c31a9ad
100644
(file)
--- a/
home/ims/ims_import.php
+++ b/
home/ims/ims_import.php
@@
-827,7
+827,7
@@
if (isset($_REQUEST['url']) && ($_REQUEST['url'] != 'http://') ) {
fclose($fp);
}
else {
- $msg->addError(array('I
MPORT_FAILED', $http_req->_errno . ": "
. $http_req->_errstr));
+ $msg->addError(array('I
NVALID_INPUT', '"'.$_REQUEST['url'] . '" HTTPRequest error '
. $http_req->_errstr));
}
$_FILES['file']['name'] = $filename;
$_FILES['file']['tmp_name'] = $full_filename;