mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
Recursive query fixed
This commit is contained in:
parent
ddcf1e4665
commit
f72d1fdf46
1 changed files with 0 additions and 12 deletions
|
@ -1,17 +1,5 @@
|
|||
<?php
|
||||
|
||||
$url = "http://dev.vestacp.com:8083/dispatch.php";
|
||||
$useragent = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";
|
||||
$ch = curl_init();
|
||||
curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
|
||||
curl_setopt($ch, CURLOPT_POST, 1);
|
||||
curl_setopt($ch, CURLOPT_URL,$url);
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($_POST));
|
||||
$result= curl_exec ($ch);
|
||||
curl_close ($ch);
|
||||
die();
|
||||
|
||||
|
||||
define('V_ROOT_DIR', dirname(__FILE__) . DIRECTORY_SEPARATOR);
|
||||
|
||||
require_once V_ROOT_DIR . 'config/Config.class.php';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue