diff --git a/index.php b/app.php similarity index 96% rename from index.php rename to app.php index bdd8401..a1b3e97 100644 --- a/index.php +++ b/app.php @@ -10,7 +10,7 @@ if(!is_dir($f3->get('UPLOADS'))) { $f3->route('GET /', function($f3) { $f3->set('key', $f3->get('PARAMS.key')); - echo View::instance()->render('index.html.php'); + echo View::instance()->render('../index.html.php'); } ); $f3->route('POST /upload', @@ -46,7 +46,7 @@ $f3->route('POST /upload', $f3->route('GET /@key', function($f3) { $f3->set('key', $f3->get('PARAMS.key')); - echo View::instance()->render('pdf.html.php'); + echo View::instance()->render('../pdf.html.php'); } ); $f3->route('POST /image2svg', diff --git a/font/Caveat-Regular.ttf b/public/font/Caveat-Regular.ttf similarity index 100% rename from font/Caveat-Regular.ttf rename to public/font/Caveat-Regular.ttf diff --git a/public/index.php b/public/index.php new file mode 100644 index 0000000..731dd57 --- /dev/null +++ b/public/index.php @@ -0,0 +1,3 @@ +