Merge branch 'master' of ssh://p0m.fr:6224/git/nemubot_askweb

This commit is contained in:
Bertrand 2012-05-23 15:36:23 +02:00
commit 200d0bf939
2 changed files with 4 additions and 4 deletions

View File

@ -52,7 +52,7 @@ class QuestionsFile
*/
public function get_question($id)
{
return new Question($this->root_node->getElementById($id));
return new Question($this->treeXML->getElementById($id));
}
/**

View File

@ -1,8 +1,8 @@
<!DOCTYPE html>
<?php
<?php
error_reporting(E_ALL);
//error_reporting(E_ALL);
define("FILENAME", "questions_file.nemubot");
@ -11,7 +11,7 @@ include("QuestionsFile.class.php");
// Change this variable depending on the server
$validationAddress = "http://178.170.101.82/~Cccompany/nemubot_askweb/validation.php?id=";
$validationAddress = "validation.php?id=";
if (isset ($_POST['send']))
{