From: Alexander Schmidt Date: Tue, 25 Sep 2012 15:27:32 +0000 (+0200) Subject: ... X-Git-Url: http://git.treefish.org/banana.git/commitdiff_plain/4dd46d68b056c25dcbd6caac2cfd578136e64bd7 ... --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b25c15b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*~ diff --git a/submit.php b/submit.php index 69d9ab8..2e88c85 100644 --- a/submit.php +++ b/submit.php @@ -41,6 +41,14 @@ print ''; break; } + + if(trim(end($sessions)[0]) == "") { + print ''; + print ''; + print '
no exercises defined
'; + break; + } + ?>
diff --git a/var/.gitignore b/var/.gitignore new file mode 100644 index 0000000..2211df6 --- /dev/null +++ b/var/.gitignore @@ -0,0 +1 @@ +*.txt