ftimme
2012-04-18 2743621223d852cca4dad85aa6b026870f96d17f
interface/web/sites/ajax_get_json.php
@@ -88,6 +88,15 @@
      if(substr($json,-1) == ',') $json = substr($json,0,-1);
      $json .= '}';
   }
   if($type == 'getphptype'){
      $json = '{"phptype":"';
      $sql = "SELECT php FROM web_domain WHERE domain_id = $web_id";
      $php = $app->db->queryOneRecord($sql);
      $json .= $php['php'];
      unset($php);
      $json .= '"}';
   }
//}