Skip to content

Commit

Permalink
add requests
Browse files Browse the repository at this point in the history
  • Loading branch information
713uk13m authored and 713uk13m committed Dec 15, 2018
1 parent 6e538b2 commit 6a38597
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 6a38597

Please sign in to comment.