|
@@ -34,7 +34,7 @@ if (empty($_POST)) {
|
|
|
|
|
|
function generateCreateForm () {
|
|
|
$template = getTemplate('create_form.html');
|
|
|
- $context = array('post_url' => htmlspecialchars($_SERVER["PHP_SELF"]));
|
|
|
+ $context = array('post_url' => '../app/create_form.php');
|
|
|
$template = parseTemplate($template, $context);
|
|
|
echo $template;
|
|
|
}
|