예제 #1
0
파일: apis.php 프로젝트: phish108/PowerTLA
<?php

QTIService::apiDefinition($apis, $enginepath, "qti.php");
CourseService::apiDefinition($apis, $enginepath, "course.php");
예제 #2
0
파일: qti.php 프로젝트: phish108/PowerTLA
<?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();