<?php QTIService::apiDefinition($apis, $enginepath, "qti.php"); CourseService::apiDefinition($apis, $enginepath, "course.php");
<?php $cwd = dirname(__FILE__); $ipath = "/include"; while ($cwd != "/") { if (file_exists($cwd . $ipath . "/findVLE.php")) { set_include_path($cwd . $ipath . PATH_SEPARATOR . $cwd . $ipath . "/PowerTLA" . PATH_SEPARATOR . get_include_path()); break; } $cwd = dirname($cwd); } require_once "findVLE.php"; $service = new QTIService(); $service->run();