projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merged changes from main trunk up to 2.2.3
[fa-stable.git]
/
includes
/
session.inc
diff --git
a/includes/session.inc
b/includes/session.inc
index ba703dee0e8432e5dbd442cfcfd78b2e66db3be8..8929ff2e4341e83a777b7e75ebd4fb7d76e8789c 100644
(file)
--- a/
includes/session.inc
+++ b/
includes/session.inc
@@
-176,8
+176,9
@@
if (!isset($_SESSION['language']))
$_SESSION['language']->set_language($_SESSION['language']->code);
// include $Hooks object if locale file exists
$_SESSION['language']->set_language($_SESSION['language']->code);
// include $Hooks object if locale file exists
-if
(@include_once($path_to_root . "/lang/".$_SESSION['language']->code."/locale.inc"))
+if
(file_exists($path_to_root . "/lang/".$_SESSION['language']->code."/locale.inc"))
{
{
+ include_once($path_to_root . "/lang/".$_SESSION['language']->code."/locale.inc");
$Hooks = new Hooks();
}
$Hooks = new Hooks();
}