debug forms

This commit is contained in:
Daniel Muñoz Garcia
2021-06-08 13:45:44 +02:00
committed by GitHub
parent b989468601
commit ec0a391745
13 changed files with 40 additions and 44 deletions

View File

@ -12,7 +12,7 @@ class formEditFilm extends Form{
const EXTENSIONS = array('gif','jpg','jpe','jpeg','png');
public function __construct() {
$options = array("action" => "./?state=mf", 'enctype' => 'multipart/form-data');
$options = array("action" => "./?state=mf&option=e", 'enctype' => 'multipart/form-data');
parent::__construct('formEditFilm', $options);
}
@ -137,7 +137,7 @@ class formEditFilm extends Form{
<div class='column side'></div>
</div>
";
//$result = './?state=mf';
$result = './?state=mf';
}else {
$result['img'] = 'El archivo tiene un nombre o tipo no soportado';
@ -156,7 +156,7 @@ class formEditFilm extends Form{
<div class='column side'></div>
</div>
";
//$result = './?state=mf';
$result = './?state=mf';
}
}