diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2005-11-08 19:29:20 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-11-08 19:29:20 +0000 |
| commit | a484161be2733c5b2f51df681cd4f7e2a77c1176 (patch) | |
| tree | 7b4e603905111dea4a29b59b88e0b5b6c12b2c1b /phpBB/includes/session.php | |
| parent | 8a965db7aa17af5db4ea6ab7c970cb2a5d21bc86 (diff) | |
| download | forums-a484161be2733c5b2f51df681cd4f7e2a77c1176.tar forums-a484161be2733c5b2f51df681cd4f7e2a77c1176.tar.gz forums-a484161be2733c5b2f51df681cd4f7e2a77c1176.tar.bz2 forums-a484161be2733c5b2f51df681cd4f7e2a77c1176.tar.xz forums-a484161be2733c5b2f51df681cd4f7e2a77c1176.zip | |
- tiny bugfixes. ;)
git-svn-id: file:///svn/phpbb/trunk@5296 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/session.php')
| -rw-r--r-- | phpBB/includes/session.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index a15b92a344..eaca6a4cb4 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -923,9 +923,9 @@ class user extends session // - add appropiate variables here, name them as they are used within the language file... if (!$use_db) { - if ( (@include $this->lang_path . (($use_help) ? 'help_' : '') . "$lang_file.$phpEx") === FALSE ) + if ((include($this->lang_path . (($use_help) ? 'help_' : '') . "$lang_file.$phpEx")) === false) { - trigger_error("Language file " . $this->lang_path . (($use_help) ? 'help_' : '') . "$lang_file.$phpEx" . " couldn't be opened."); + trigger_error("Language file {$this->lang_path}" . (($use_help) ? 'help_' : '') . "$lang_file.$phpEx couldn't be opened."); } } else if ($use_db) |
