Example #1
0
 private static function has_redirect($value, $subview = false)
 {
     if (CONFIG::has_attribute($value, "redirect")) {
         if (!$subview) {
             self::$allowed_in_view = false;
         } else {
             self::$allowed_in_subview = false;
         }
         REQUEST::$REDIRECT_URI = trim($value["@attributes"]["redirect"], "/");
     }
 }