Merge branch 'master' of ssh://p0m.fr:6224/git/nemubot_askweb
This commit is contained in:
commit
200d0bf939
@ -52,7 +52,7 @@ class QuestionsFile
|
|||||||
*/
|
*/
|
||||||
public function get_question($id)
|
public function get_question($id)
|
||||||
{
|
{
|
||||||
return new Question($this->root_node->getElementById($id));
|
return new Question($this->treeXML->getElementById($id));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
error_reporting(E_ALL);
|
//error_reporting(E_ALL);
|
||||||
define("FILENAME", "questions_file.nemubot");
|
define("FILENAME", "questions_file.nemubot");
|
||||||
|
|
||||||
|
|
||||||
@ -11,7 +11,7 @@ include("QuestionsFile.class.php");
|
|||||||
|
|
||||||
|
|
||||||
// Change this variable depending on the server
|
// 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']))
|
if (isset ($_POST['send']))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user