Prueba de logs

parent 242f1667
......@@ -78,7 +78,7 @@ class DefaultController extends Controller {
$usuarioNutraPharm->setUnuPathFotoInicial($uploadDir . '/' . $idNutrapharm);
$usuarioNutraPharm->setUnuIdNutrapharm($idNutrapharm);
$usuarioNutraPharm->save();
$filename = $idNutrapharm . ".png";
$filename = $idNutrapharm . $file->getClientOriginalExtension();
$file->move($uploadDir, $filename);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment