Skip to content

Instantly share code, notes, and snippets.

@eminetto
Created May 23, 2011 19:27
Show Gist options
  • Select an option

  • Save eminetto/987362 to your computer and use it in GitHub Desktop.

Select an option

Save eminetto/987362 to your computer and use it in GitHub Desktop.
<html>
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
    <title></title>
</head>
<body>
<?php
//mostra as mensagens de erro caso existam
$session = Zend_Registry::get('session');
    if($session->erro) {
print_r($session->erro);
unset($session->erro);
}
    //mostra o conteúdo da página
    echo $this->layout()->content;
?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment