locales require bugfix
authorx99bachelart <x99bachelart>
Wed, 1 Oct 2003 12:55:21 +0000 (12:55 +0000)
committerx99bachelart <x99bachelart>
Wed, 1 Oct 2003 12:55:21 +0000 (12:55 +0000)
disconnect.php

index 516c951..2b9d535 100644 (file)
@@ -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();