praiadeseselle/site/templates/layout/init.php

19 lines
No EOL
534 B
PHP

<?php namespace ProcessWire;
/** @var Page $page */
/** @var Pages $pages */
/** @var Config $config */
/** @var Sanitizer $sanitizer API variable */
/** @var WireInput $input API variable */
/** @var User $user API variable */
/** @var Languages $languages API variable */
/** @var SiteConfig $configuracion */
/** @var HomePage $inicio */
$start = microtime(true);
include_once("./layout/func.php");
$inicio = $pages->get('/');
$configuracion = getConfig($inicio);
$titulo = $page->title . ' - ' . $configuracion['sitio_nome'];