change to POST

This commit is contained in:
Alexander Gabriel 2021-03-13 12:55:42 +01:00
parent dc58eb8d35
commit e8035f284b
1 changed files with 2 additions and 1 deletions

View File

@ -147,7 +147,8 @@ $_POST['feld'] = $originalfeld;
$results['feld'] = $zielfeld;
file_exists('vendor/autoload.php' ? require 'vendor/autoload.php': trigger_error("vendor/autoload.php not found"));
if (file_exists('./vendor/autoload.php')) require './vendor/autoload.php';
else trigger_error("./vendor/autoload.php not found");
$oSmarty = new Smarty();
$oSmarty->template_dir = './/templates/';
$oSmarty->compile_dir = './templates_c/';