From d90fe33c20386e830e01f5a93ea6773979be5827 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Mon, 14 Nov 2005 23:29:36 +0000 Subject: [PATCH] fixes git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@155 839d8a87-29fc-0310-9880-83ba4fa771e5 --- htdocs.net/fiche.php | 1 + include/platal.inc.php | 12 ++++++++++++ include/xorg.inc.php | 12 ------------ 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/htdocs.net/fiche.php b/htdocs.net/fiche.php index 426a7fa..6d05057 100644 --- a/htdocs.net/fiche.php +++ b/htdocs.net/fiche.php @@ -1,3 +1,4 @@ diff --git a/include/platal.inc.php b/include/platal.inc.php index 769261a..a24d16e 100644 --- a/include/platal.inc.php +++ b/include/platal.inc.php @@ -43,6 +43,18 @@ define('NO_SKIN', 1); require_once('platal/env.inc.php'); // }}} +// {{{ function redirect + +function redirect($page) +{ + if (count($_SESSION)) { + session_write_close(); + } + header("Location: $page"); + exit; +} + +// }}} // vim:set et sw=4 sts=4 sws=4 foldmethod=marker: ?> diff --git a/include/xorg.inc.php b/include/xorg.inc.php index 45dccf9..95a7bb9 100644 --- a/include/xorg.inc.php +++ b/include/xorg.inc.php @@ -100,18 +100,6 @@ function new_admin_table_editor($table, $idfield, $idedit=false) } // }}} -// {{{ function redirect - -function redirect($page) -{ - if (count($_SESSION)) { - session_write_close(); - } - header("Location: $page"); - exit; -} - -// }}} // vim:set et sw=4 sts=4 sws=4 foldmethod=marker: ?> -- 2.1.4