Merge branch 'master' of /git/nemubot_askweb

This commit is contained in:
Némunaire 2012-05-19 11:03:08 +02:00
commit c128d8a31d
2 changed files with 14 additions and 0 deletions

12
TODO Normal file
View File

@ -0,0 +1,12 @@
#=====================================================#
# #
# TODO #
# #
#=====================================================#
-> Multiple possible answer
-> Send email for confirmation
-> One answer / one word
-> Special ID for a question
-> Display on #epitagueule the new questions
and the rejected questions (using the ID)

View File

@ -1,5 +1,7 @@
<?php <?php
define("FILENAME", "questions_file.nemubot");
if (isset ($_POST['send'])) if (isset ($_POST['send']))
{ {
if (empty($_POST['question']) || empty($_POST['answer'])) if (empty($_POST['question']) || empty($_POST['answer']))