Esempio n. 1
0
<?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 XAPIService();
$service->run();
Esempio n. 2
0
<?php

XAPIService::apiDefinition($apis, $enginepath, "lrs.php");
// array_push($service["apis"], XAPIFilterService::apiDefinition($pathprefix));