Ejemplo n.º 1
0
 /**
  * End session
  */
 public static function end()
 {
     foreach ($_SESSION['flashdata'] as $name => $data) {
         unset($_SESSION['flashdata'][$name]);
     }
     WFEsession::setFlashdata(array('last_page_uri' => WFERouter::getCurrentRequest()->getURI()));
 }
 public static function getCurrentRoutePath($array, $smarty)
 {
     $route = WFERouter::getCurrentRequest()->getRoute();
     return $route->injectParams(WFERouter::getCurrentRequest()->getArguments());
 }