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

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