praiadeseselle/site/templates/layout/init.php

19 lines
534 B
PHP
Raw Permalink Normal View History

2022-03-09 18:09:44 +01:00
<?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");
2022-03-09 18:09:44 +01:00
$inicio = $pages->get('/');
$configuracion = getConfig($inicio);
$titulo = $page->title . ' - ' . $configuracion['sitio_nome'];