start cleaning of main class
This commit is contained in:
parent
47257641d8
commit
bdb4b6d865
2 changed files with 379 additions and 242 deletions
|
@ -55,7 +55,7 @@ if (!empty($_POST['save'])) {
|
||||||
throw new Exception('You must choose one file format at least');
|
throw new Exception('You must choose one file format at least');
|
||||||
}
|
}
|
||||||
foreach($translater->getDefaultSettings() as $k => $v) {
|
foreach($translater->getDefaultSettings() as $k => $v) {
|
||||||
$translater->set($k, (isset($_POST['translater_' . $k]) ? $_POST['translater_' . $k] : ''));
|
$translater->setSetting($k, (isset($_POST['translater_' . $k]) ? $_POST['translater_' . $k] : ''));
|
||||||
}
|
}
|
||||||
foreach($translater->proposal->getTools() AS $k => $v) {
|
foreach($translater->proposal->getTools() AS $k => $v) {
|
||||||
$v->save();
|
$v->save();
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue