<?xml version="1.0" encoding="ISO-8859-1" ?>
<xml>
<template name="site" file="/exemplo/template.php" />
<auth-module name="auth_login" require-session-user="session_usuario" login-action="login" />
<module name="exemplo">
<action name="login" type="Login_Action">
<forward name="form" file="login.php" template="site" />
<forward name="bemvindo" file="welcome.php" template="site" />
</action>
</module>
<module name="exemplo_restrito" auth-module="auth_login">
<global-forward name="erro" file="erro.php" />
<action name="sistema" type="Sistema_Action">
<forward name="lista" file="lista.php" template="site" />
</action>
</module>
</xml>
|