This commit is contained in:
Gerald Simane
2009-01-21 12:13:35 +00:00
parent 129fbea906
commit 0be4cc85d0
+5 -5
View File
@@ -81,11 +81,11 @@
{
include(dirname(__FILE__)."/xmlrpcutils/utils.php");
// Achtung!
// Im Produktion muss die vilesci.technikum-wien gegen cis.technikum-wien getauscht werden
if ($_SERVER["HTTP_HOST"]=="cis.technikum-wien.at" || $_SERVER["HTTP_HOST"]=="vilesci.technikum-wien.at" )
$host = 'cis.technikum-wien.at';
else
$host = 'dav.technikum-wien.at';
// Im Produktion muss cis.technikum-wien als Moodle Host genommen werden
if ($_SERVER["HTTP_HOST"]=="dav.technikum-wien.at" )
$host = 'dav.technikum-wien.at';
else
$host = 'cis.technikum-wien.at';
// Variable Daten Initialisieren
$uri = "/moodle/xmlrpc/xmlrpc.php";
$method = "DeleteCourseByID";