From: x99bachelart Date: Wed, 1 Oct 2003 12:55:21 +0000 (+0000) Subject: locales require bugfix X-Git-Tag: 1.8~384 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=086966b9be627a5dc18404f0e7426ea263034b1f;p=banana.git locales require bugfix --- diff --git a/disconnect.php b/disconnect.php index 516c951..2b9d535 100644 --- a/disconnect.php +++ b/disconnect.php @@ -7,8 +7,13 @@ * Copyright: See COPYING files that comes with this distribution ********************************************************************************/ -require("locales/locales.inc.php"); require("include/session.inc.php"); +require("include/profile.inc.php"); +require("include/error.inc.php"); + +$profile=getprofile(); +require($profile['locale']); + $_SESSION=array(); session_destroy();