return;
}
- function index()
+ function index($api = TRUE)
{
$this->handler;
if (empty($this->handler)) {
return;
}
- $this->api = TRUE;
+ $this->api = $api;
$Page = $this;
- $res = include "./{$this->handler}/index.php";
- return $res;
+ global $User;
+ return require "./{$this->handler}/index.php";
}
function restricted()