diff options
Diffstat (limited to 'admin/WebConsole/includes/RedireccionaError.php')
-rw-r--r-- | admin/WebConsole/includes/RedireccionaError.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/admin/WebConsole/includes/RedireccionaError.php b/admin/WebConsole/includes/RedireccionaError.php new file mode 100644 index 00000000..92a6cd4c --- /dev/null +++ b/admin/WebConsole/includes/RedireccionaError.php @@ -0,0 +1,13 @@ +<? +/*______________________________________________________________________ + Redirecciona a la página de error + Parametros: + - Literal del error +_______________________________________________________________________*/ +function RedireccionaError($herror){ + + $urlerror=urlencode($herror); + $wurl="../seguridad/logerror.php?herror=".$urlerror; + Header('Location: '.$wurl); +} +?>
\ No newline at end of file |