Skip to content

Commit

Permalink
Merge pull request #23 from nguyenanhung/develop
Browse files Browse the repository at this point in the history
add requests
  • Loading branch information
nguyenanhung authored Dec 15, 2018
2 parents ea4d9e0 + 6a38597 commit 5e17572
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Interfaces/ProjectInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
*/
interface ProjectInterface
{
const VERSION = '0.1.3.16';
const LAST_MODIFIED = '2018-12-15';
const VERSION = '0.1.3.17';
const LAST_MODIFIED = '2018-12-16';
const MIN_PHP_VERSION = '5.3';
const GET = 'GET';
const HEAD = 'HEAD';
Expand Down
2 changes: 1 addition & 1 deletion src/MyRequests.php
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ public function curlRequest($url = '', $data = [], $method = 'GET')
];
$this->debug->info(__FUNCTION__, 'input Params: ', $inputParams);
$method = strtoupper($method);
if (!class_exists('Requests')) {
if (!class_exists('Curl\Curl')) {
$this->debug->critical(__FUNCTION__, 'class \Curl\Curl() is not exits');
$response = NULL;
} else {
Expand Down

0 comments on commit 5e17572

Please sign in to comment.