public $raw, $title, $body; # file contents
public $meta = []; # head metadata properties
public $place = []; # template variables replaced in render()
+ public $api = FALSE; # requested programming interface
function __construct($path)
{
if (empty($this->handler)) {
return;
}
- $User = NULL;
+ $this->api = TRUE;
$Page = $this;
$res = include "./{$this->handler}/index.php";
return $res;