3 include("tmp/header.php");
4 include("tmp/translatebox.php");
6 require_once("AOOSCore.php");
7 require_once("AOOSModel.php");
8 require_once("AOOSStorageDevice.php");
12 if (!isset($_SESSION["core"]))
15 $_SESSION["core"] = serialize($c);
17 $c = unserialize($_SESSION["core"]);
18 $_SESSION["core"] = serialize($c);
19 $u = $c->getModule("User");
20 $u->login("'foo'", "'bar'");
22 catch (AOOSException
$e)
26 $c->printExceptions();