Fix header template not setting version at all

This commit is contained in:
Miles Lott 2001-06-01 01:03:30 +00:00
parent f26c75b847
commit ef41c3404f
2 changed files with 3 additions and 2 deletions

View File

@ -81,9 +81,10 @@
\**************************************************************************/
define('PHPGW_API_INC',PHPGW_INCLUDE_ROOT.'/phpgwapi/inc');
include(PHPGW_SERVER_ROOT.'/phpgwapi/setup/setup.inc.php');
$phpgw_info["server"]["versions"]["phpgwapi"] = $setup_info['phpgwapi']['version'];
$phpgw_info['server']['versions']['current_header'] = $setup_info['phpgwapi']['versions']['current_header'];
unset($setup_info);
$phpgw_info['server']['versions']['header'] = '1.15';
$phpgw_info['server']['versions']['header'] = '1.16';
// This is a fix for NT
if (!isset($phpgw_info['flags']['noapi']) || !$phpgw_info['flags']['noapi'] == True)
{

View File

@ -3,7 +3,7 @@
$setup_info['phpgwapi']['name'] = 'phpgwapi';
$setup_info['phpgwapi']['title'] = 'phpgwapi';
$setup_info['phpgwapi']['version'] = '0.9.13.001';
$setup_info['phpgwapi']['versions']['current_header'] = '1.15';
$setup_info['phpgwapi']['versions']['current_header'] = '1.16';
// $setup_info['phpgwapi']['app_order'] = '6';
/* The tables this app creates */