projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed GET continuation after timeot and logout page access without authorization.
[fa-stable.git]
/
frontaccounting.php
diff --git
a/frontaccounting.php
b/frontaccounting.php
index 7e2201882a74b9f954ca64cfa97c8f69c5df83c4..033c99283758f9f537cb096323221779ad7b69f2 100644
(file)
--- a/
frontaccounting.php
+++ b/
frontaccounting.php
@@
-44,8
+44,9
@@
if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
//$this->renderer =& new renderer();
}
function add_application(&$app)
//$this->renderer =& new renderer();
}
function add_application(&$app)
- {
- $this->applications[$app->id] = &$app;
+ {
+ if ($app->enabled) // skip inactive modules
+ $this->applications[$app->id] = &$app;
}
function get_application($id)
{
}
function get_application($id)
{
@@
-90,11
+91,11
@@
if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
{
foreach ($installed_extensions as $ext)
{
{
foreach ($installed_extensions as $ext)
{
-
get_text::
add_domain($_SESSION['language']->code,
+
$_SESSION['get_text']->
add_domain($_SESSION['language']->code,
$ext['folder']."/lang");
$class = $ext['name']."_app";
$this->add_application(new $class());
$ext['folder']."/lang");
$class = $ext['name']."_app";
$this->add_application(new $class());
-
get_text::
add_domain($_SESSION['language']->code,
+
$_SESSION['get_text']->
add_domain($_SESSION['language']->code,
$path_to_root."/lang");
}
}
$path_to_root."/lang");
}
}