projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f53e28
)
Fixed error log warning (missing installed_extensions.inc) during upgrade to 2.2.
author
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Sat, 24 Oct 2009 13:21:22 +0000
(13:21 +0000)
committer
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Sat, 24 Oct 2009 13:21:22 +0000
(13:21 +0000)
includes/session.inc
patch
|
blob
|
history
diff --git
a/includes/session.inc
b/includes/session.inc
index 734c17036f9d2160bf55d535380c7f01f284323f..f449407d9af302f698a555bb4d4810c8c86dec6d 100644
(file)
--- a/
includes/session.inc
+++ b/
includes/session.inc
@@
-245,7
+245,8
@@
if (strstr($_SERVER['PHP_SELF'], 'logout.php') == false){
}
}
- include_once($path_to_root . '/company/'.user_company().'/installed_extensions.php');
+ if (!$_SESSION["wa_current_user"]->old_db)
+ include_once($path_to_root . '/company/'.user_company().'/installed_extensions.php');
if (!isset($_SESSION["App"])) {
$_SESSION["App"] = new front_accounting();