Initial Commit

This commit is contained in:
2019-11-21 12:25:31 +01:00
commit f4aabcb9b1
13959 changed files with 787761 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Curl_model extends CI_Model {
/**
* Check if Curl available
*
* @return boolean
*/
public function test() {
$test = function_exists('curl_version');
return $test;
}
/**
* Do request
*
* @param string url
* @return array
*/
public function request($url) {
$result = wp_remote_post($url);
return $result;
}
}