예제 #1
0
 public function cadastraIMG($nome)
 {
     $cars = new Cars(new Config());
     $carros = $cars->readAllCars();
     if (count($carros) == 0) {
         $id = 1;
         //$cars->cadastrarFoto($nome, $id);
     } else {
         //$cars->cadastrarFoto($nome);
     }
 }