disabling redirect as it is not working (opens eTemplate tab in Stylite/Pixelegg template)

This commit is contained in:
Ralf Becker 2014-01-21 18:58:07 +00:00
parent 1924a5f574
commit 2632aff548

View File

@ -174,12 +174,12 @@ class etemplate_request
} }
if (!$request) // eT2 request/session expired if (!$request) // eT2 request/session expired
{ {
// redirect to index-url of app /* redirect to index-url of app does not work, opens eTemplate tab in Stylite/Pixelegg template :-(
error_log(__METHOD__."('$id', ...) eT2 request not found --> redirect to index-url");
list($app) = explode('.', $_GET['menuaction']); list($app) = explode('.', $_GET['menuaction']);
$index_url = isset($GLOBALS['egw_info']['apps'][$app]['index']) ? $index_url = isset($GLOBALS['egw_info']['apps'][$app]['index']) ?
'/index.php?menuaction='.$GLOBALS['egw_info']['apps'][$app]['index'] : '/'.$app.'/index.php'; '/index.php?menuaction='.$GLOBALS['egw_info']['apps'][$app]['index'] : '/'.$app.'/index.php';
egw_framework::redirect_link($index_url); egw_framework::redirect_link($index_url); */
error_log(__METHOD__."('$id', ...) eT2 request not found / expired!");
} }
return $request; return $request;
} }