loadDriverProperties.php 399 B

1234567891011121314151617
  1. <?php
  2. include_once("../auth.php");
  3. if (isset($_GET['classType']) && $_GET['classType'] != ""){
  4. $classtype = $_GET['classType'];
  5. if (file_exists("drivers/" . $classtype . "/classname.inf")){
  6. echo file_get_contents("drivers/" . $classtype . "/classname.inf");
  7. }else{
  8. if (file_exists("drivers/" . $classtype . "/")){
  9. echo "Unknown Device";
  10. }else{
  11. echo "Driver Not Found";
  12. }
  13. }
  14. }
  15. ?>