summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/includes/RedireccionaError.php
diff options
context:
space:
mode:
authoralonso <alonso@us.es>2009-11-04 12:41:19 +0000
committeralonso <alonso@us.es>2009-11-04 12:41:19 +0000
commitb0dc2e4f68d239ce72f138c47d5762973dfa851e (patch)
tree8b22fe4101e8e527f474291ed19f4446f02a2343 /admin/WebConsole/includes/RedireccionaError.php
parenta7fa603b2d3bb05c60c61265f2bf4b561bb00ba3 (diff)
git-svn-id: https://opengnsys.es/svn/trunk@489 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/includes/RedireccionaError.php')
-rw-r--r--admin/WebConsole/includes/RedireccionaError.php13
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..84f11e83
--- /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