Ejemplo n.º 1
0
 public function execute_new_xml_load()
 {
     $pss = new PSS();
     $start = new Start();
     if (isset($_POST['url'])) {
         $json = $start->request($_POST['url']);
         $data = json_decode($json);
         $_SESSION['error'] = $pss->load_patterns2db($data);
         header("Location:?q=config");
         exit;
     }
     return array();
 }