mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Fix setting of detail var.
This commit is contained in:
parent
af46eff15f
commit
c42976c49a
@ -123,7 +123,7 @@
|
|||||||
$terror[$appname]['version'] = $version[$appname];
|
$terror[$appname]['version'] = $version[$appname];
|
||||||
$terror[$appname]['status'] = 'U';
|
$terror[$appname]['status'] = 'U';
|
||||||
|
|
||||||
$appdir = PHPGW_SERVER_ROOT . SEP . $appname . SEP . 'setup' . SEP;
|
$appdir = EGW_SERVER_ROOT . SEP . $appname . SEP . 'setup' . SEP;
|
||||||
|
|
||||||
// Drop newest tables
|
// Drop newest tables
|
||||||
$terror[$appname]['tables'] = $GLOBALS['setup_info'][$appname]['tables'];
|
$terror[$appname]['tables'] = $GLOBALS['setup_info'][$appname]['tables'];
|
||||||
@ -170,14 +170,14 @@
|
|||||||
$GLOBALS['setup_tpl']->pparse('out','footer');
|
$GLOBALS['setup_tpl']->pparse('out','footer');
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
$detail = get_var('detail',Array('POST'));
|
$detail = get_var('detail',Array('GET','POST'));
|
||||||
if($detail)
|
if($detail)
|
||||||
{
|
{
|
||||||
@ksort($GLOBALS['setup_info'][$detail]);
|
@ksort($GLOBALS['setup_info'][$detail]);
|
||||||
@reset($GLOBALS['setup_info'][$detail]);
|
@reset($GLOBALS['setup_info'][$detail]);
|
||||||
$GLOBALS['setup_tpl']->set_var('description',lang('App details') . ':');
|
$GLOBALS['setup_tpl']->set_var('description',lang('App details') . ':');
|
||||||
$GLOBALS['setup_tpl']->pparse('out','header');
|
$GLOBALS['setup_tpl']->pparse('out','header');
|
||||||
|
|
||||||
while (list($key,$val) = each($GLOBALS['setup_info'][$detail]))
|
while (list($key,$val) = each($GLOBALS['setup_info'][$detail]))
|
||||||
{
|
{
|
||||||
if ($i) { $i = 0; }
|
if ($i) { $i = 0; }
|
||||||
@ -225,9 +225,9 @@
|
|||||||
while (list ($key, $value) = each ($GLOBALS['setup_info']))
|
while (list ($key, $value) = each ($GLOBALS['setup_info']))
|
||||||
{
|
{
|
||||||
unset($test);
|
unset($test);
|
||||||
if (file_exists(PHPGW_SERVER_ROOT . '/' . $value['name'] . '/setup/tables_update.inc.php'))
|
if (file_exists(EGW_SERVER_ROOT . '/' . $value['name'] . '/setup/tables_update.inc.php'))
|
||||||
{
|
{
|
||||||
include(PHPGW_SERVER_ROOT . '/' . $value['name'] . '/setup/tables_update.inc.php');
|
include(EGW_SERVER_ROOT . '/' . $value['name'] . '/setup/tables_update.inc.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_array($test))
|
if (is_array($test))
|
||||||
|
Loading…
Reference in New Issue
Block a user