projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NEW LINE BUG IN INVENTORY LOCATION TRANSFER. Fixed by @detkenn.
[fa-stable.git]
/
includes
/
session.inc
diff --git
a/includes/session.inc
b/includes/session.inc
index bb061e435c541bf8554f545ab551f4b4f90f69f2..fe3c795321c322ffd92a564db9efe2dbac557ce9 100644
(file)
--- a/
includes/session.inc
+++ b/
includes/session.inc
@@
-413,9
+413,11
@@
if ((!isset($SysPrefs->login_max_attempts)) || ($SysPrefs->login_max_attempts <
$SysPrefs->login_max_attempts = 3;
if ($SysPrefs->go_debug > 0)
$SysPrefs->login_max_attempts = 3;
if ($SysPrefs->go_debug > 0)
-
error_reporting(-1)
;
+
$cur_error_level = -1
;
else
else
- error_reporting(E_USER_WARNING|E_USER_ERROR|E_USER_NOTICE);
+ $cur_error_level = E_USER_WARNING|E_USER_ERROR|E_USER_NOTICE;
+
+error_reporting($cur_error_level);
ini_set("display_errors", "On");
if ($SysPrefs->error_logfile != '') {
ini_set("display_errors", "On");
if ($SysPrefs->error_logfile != '') {