debug forms
This commit is contained in:
committed by
GitHub
parent
b989468601
commit
ec0a391745
@ -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';
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user