forked from verdnatura/hedera-web
25 lines
414 B
PHP
Executable File
25 lines
414 B
PHP
Executable File
<?php
|
|
|
|
require_once ('vn/hedera/web.php');
|
|
|
|
use Vn\Lib\Locale;
|
|
use Vn\Hedera\Web;
|
|
|
|
Web::init ();
|
|
Web::login ();
|
|
|
|
header ('Content-Type: text/xml; charset=UTF-8');
|
|
|
|
if (isset ($_GET['form']) && Vn\Hedera\checkFilePath ($_GET['form'], 'forms'))
|
|
$form = $_GET['form'];
|
|
else
|
|
$form = $conf['defaultForm'];
|
|
|
|
$formPath = "forms/$form";
|
|
Locale::addPath ($formPath);
|
|
include ("$formPath/html.php");
|
|
|
|
Web::deinit ();
|
|
|
|
?>
|