0.3.11
This commit is contained in:
parent
b7903ad672
commit
407c8545d1
@ -1579,7 +1579,7 @@ function initializeTemplateCatalog(){
|
|||||||
data = JSON.stringify(data);
|
data = JSON.stringify(data);
|
||||||
|
|
||||||
//Retrieve object details
|
//Retrieve object details
|
||||||
$.post("https://patchcablemgr.com/public/template-catalog-details-0-3-11.php", {data:data}, function(response){
|
$.post("https://patchcablemgr.com/public/template-catalog-details.php", {data:data}, function(response){
|
||||||
var alertMsg = '';
|
var alertMsg = '';
|
||||||
var responseJSON = JSON.parse(response);
|
var responseJSON = JSON.parse(response);
|
||||||
if ($(responseJSON.error).size() > 0){
|
if ($(responseJSON.error).size() > 0){
|
||||||
|
|||||||
@ -22,7 +22,7 @@ if($_SERVER['REQUEST_METHOD'] == 'POST'){
|
|||||||
// POST Request
|
// POST Request
|
||||||
$POSTData = array('data' => $dataJSON);
|
$POSTData = array('data' => $dataJSON);
|
||||||
|
|
||||||
$ch = curl_init('https://patchcablemgr.com/public/template-import-0-3-11.php');
|
$ch = curl_init('https://patchcablemgr.com/public/template-import.php?version='.PCM_VERSION);
|
||||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||||
curl_setopt($ch, CURLOPT_POST, true);
|
curl_setopt($ch, CURLOPT_POST, true);
|
||||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $POSTData);
|
curl_setopt($ch, CURLOPT_POSTFIELDS, $POSTData);
|
||||||
|
|||||||
@ -3,7 +3,7 @@ define('QUADODO_IN_SYSTEM', true);
|
|||||||
require_once '../includes/header.php';
|
require_once '../includes/header.php';
|
||||||
$qls->Security->check_auth_page('operator.php');
|
$qls->Security->check_auth_page('operator.php');
|
||||||
|
|
||||||
$ch = curl_init('https://patchcablemgr.com/public/template-catalog-data-0-3-11.php');
|
$ch = curl_init('https://patchcablemgr.com/public/template-catalog-data.php?version='.PCM_VERSION);
|
||||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, "/etc/ssl/certs/");
|
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, "/etc/ssl/certs/");
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user