mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 14:22:54 +09:00
issue 2075, do not display raw error message when getRemoteResource() failed.
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11275 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
53235230f3
commit
7f2b3c1db2
2 changed files with 35 additions and 0 deletions
9
classes/file/getRemoteResourcePHP5.php
Normal file
9
classes/file/getRemoteResourcePHP5.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
try
|
||||
{
|
||||
return self::_getRemoteResource($url, $body, $timeout, $method, $content_type, $headers, $cookies, $post_data);
|
||||
}
|
||||
catch(Exception $e)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue