#!/usr/bin/env php config->getString('csrf.secret', 'soup'), '::1'); // neither should this i think, mostly done to make sure the url handler thing is available $msz->createRouting(new HttpRequest('::1', true, 'XX', '1.1', 'GET', '/', [], [], new HttpHeaders([ new HttpHeader('Host', $hostName), ]), null)); $msz->startTemplating(); $ctx = $msz->templating->load(implode(' ', array_slice($argv, $pathIndex))); foreach($tplArgs as $name => $value) $ctx->setVar($name, $value); // things expect this to be defined which is also a bit yucky if(!defined('MSZ_TPL_RENDER')) define('MSZ_TPL_RENDER', microtime(true)); echo $ctx->render();