changes to the way the header version is managed

This commit is contained in:
seek3r 2001-05-30 08:26:24 +00:00
parent 0dd038c04e
commit 3510d65861
5 changed files with 6 additions and 37 deletions

View File

@ -80,8 +80,10 @@
* Do not edit these lines *
\**************************************************************************/
define('PHPGW_API_INC',PHPGW_INCLUDE_ROOT.'/phpgwapi/inc');
include(PHPGW_SERVER_ROOT.'/version.inc.php');
$phpgw_info['server']['versions']['header'] = '1.12';
include(PHPGW_SERVER_ROOT.'/phpgwapi/setup/setup.inc.php');
$phpgw_info['server']['versions']['current_header'] = $setup_info['phpgwapi']['versions']['current_header'];
unset($setup_info);
$phpgw_info['server']['versions']['header'] = '1.13';
// This is a fix for NT
if (!isset($phpgw_info['flags']['noapi']) || !$phpgw_info['flags']['noapi'] == True)
{

View File

@ -149,7 +149,7 @@
\****************************************************************************/
// error_reporting(7);
/* Make sure the header.inc.php is current. */
if ($phpgw_info["server"]["versions"]["header"] < $phpgw_info["server"]["versions"]["current_header"]){
if ($phpgw_info['server']['versions']['header'] < $phpgw_info['server']['versions']['current_header']){
echo "<center><b>You need to port your settings to the new header.inc.php version.</b></center>";
exit;
}

View File

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

View File

@ -1,19 +0,0 @@
<?php
/**************************************************************************\
* phpGroupWare *
* http://www.phpgroupware.org *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
/* $Id$ */
/*
This is a completely redundant file, but Im keeping it here because
I have some irrational feeling that I should. Seek3r
*/
// $phpgw_info['server']['versions']['phpgwapi'] = $phpgw_info['server']['versions']['phpgwapi'];
?>

View File

@ -1,15 +0,0 @@
<?php
/**************************************************************************\
* phpGroupWare *
* http://www.phpgroupware.org *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
/* $Id$ */
$phpgw_info['server']['versions']['phpgwapi'] = '0.9.13.001';
$phpgw_info['server']['versions']['current_header'] = '1.12';