Skip to content

Commit f72d1fd

Browse files
committed
Recursive query fixed
1 parent ddcf1e4 commit f72d1fd

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

web/vesta/app.init.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
<?php
22

3-
$url = "http://dev.vestacp.com:8083/dispatch.php";
4-
$useragent = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";
5-
$ch = curl_init();
6-
curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
7-
curl_setopt($ch, CURLOPT_POST, 1);
8-
curl_setopt($ch, CURLOPT_URL,$url);
9-
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($_POST));
10-
$result= curl_exec ($ch);
11-
curl_close ($ch);
12-
die();
13-
14-
153
define('V_ROOT_DIR', dirname(__FILE__) . DIRECTORY_SEPARATOR);
164

175
require_once V_ROOT_DIR . 'config/Config.class.php';

0 commit comments

Comments
 (0)