Initial commit.

This commit is contained in:
Tim Schumacher 2013-09-11 15:27:52 +02:00
commit d4eda10198
14 changed files with 10726 additions and 0 deletions

23
index.php Normal file
View file

@ -0,0 +1,23 @@
<?php
require 'vendor/autoload.php';
$app = new Silex\Application();
$app['debug'] = true;
$app->register(new Silex\Provider\TwigServiceProvider(), array(
'twig.path' => __DIR__.'/templates',
));
$app->get('/', function () use ($app) {
return $app['twig']->render('index.twig', array(
));
});
$app->post('/', function () use ($app) {
return $app['twig']->render('index.twig', array(
));
});
$app->run();