projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed bugs
[squirrelmail.git]
/
functions
/
auth.php
diff --git
a/functions/auth.php
b/functions/auth.php
index ea692eeb653e1c954c6d59963aea9140f915fa63..8cddd0024bde4860ca5deb4a99115fbdde26b3a0 100644
(file)
--- a/
functions/auth.php
+++ b/
functions/auth.php
@@
-12,12
+12,14
@@
return;
define ('auth_php', true);
return;
define ('auth_php', true);
- include '../functions/i18n.php';
-
function is_logged_in () {
function is_logged_in () {
+ global $squirrelmail_language;
+
if (session_is_registered('user_is_logged_in'))
return;
if (session_is_registered('user_is_logged_in'))
return;
-
+
+ set_up_language($squirrelmail_language, true);
+
echo "<html><body bgcolor=\"ffffff\">\n";
echo "<br><br>";
echo "<center>";
echo "<html><body bgcolor=\"ffffff\">\n";
echo "<br><br>";
echo "<center>";