Created
December 13, 2011 18:14
-
-
Save eminetto/1473182 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> | |
<title>Blog</title> | |
</head> | |
<body> | |
<?php | |
//mensagens de erro | |
$session = Zend_Registry::get('session'); | |
if(isset($session->erro)) { | |
echo "<p> $session->erro </p>"; | |
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