Skip to content

Commit

Permalink
suppressed file_get_contents warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tidal committed Mar 16, 2010
1 parent 5acbadf commit 9cb1b18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ApeFileConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class ApeFileConnection extends ApeAbstractConnection {

protected function doSendRequest(ApeRequest $request){
$data = $request->getUrlString();
try {
$res = file_get_contents($this->getUrl().$data);
try {
$res = @file_get_contents($this->getUrl().$data);
}catch(Exception $e){
throw new ApeException('Could not create Response: '.$e->getMessage());
}
Expand Down

0 comments on commit 9cb1b18

Please sign in to comment.