forked from extern/egroupware
changes to the way the header version is managed
This commit is contained in:
parent
0dd038c04e
commit
3510d65861
@ -80,8 +80,10 @@
|
|||||||
* Do not edit these lines *
|
* Do not edit these lines *
|
||||||
\**************************************************************************/
|
\**************************************************************************/
|
||||||
define('PHPGW_API_INC',PHPGW_INCLUDE_ROOT.'/phpgwapi/inc');
|
define('PHPGW_API_INC',PHPGW_INCLUDE_ROOT.'/phpgwapi/inc');
|
||||||
include(PHPGW_SERVER_ROOT.'/version.inc.php');
|
include(PHPGW_SERVER_ROOT.'/phpgwapi/setup/setup.inc.php');
|
||||||
$phpgw_info['server']['versions']['header'] = '1.12';
|
$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
|
// This is a fix for NT
|
||||||
if (!isset($phpgw_info['flags']['noapi']) || !$phpgw_info['flags']['noapi'] == True)
|
if (!isset($phpgw_info['flags']['noapi']) || !$phpgw_info['flags']['noapi'] == True)
|
||||||
{
|
{
|
||||||
|
@ -149,7 +149,7 @@
|
|||||||
\****************************************************************************/
|
\****************************************************************************/
|
||||||
// error_reporting(7);
|
// error_reporting(7);
|
||||||
/* Make sure the header.inc.php is current. */
|
/* 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>";
|
echo "<center><b>You need to port your settings to the new header.inc.php version.</b></center>";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
||||||
$setup_info['phpgwapi']['title'] = 'phpgwapi';
|
$setup_info['phpgwapi']['title'] = 'phpgwapi';
|
||||||
$setup_info['phpgwapi']['version'] = '0.9.12.001';
|
$setup_info['phpgwapi']['version'] = '0.9.12.001';
|
||||||
|
$setup_info['phpgwapi']['versions']['current_header'] = '1.13';
|
||||||
// $setup_info['phpgwapi']['app_order'] = '6';
|
// $setup_info['phpgwapi']['app_order'] = '6';
|
||||||
|
|
||||||
/* The tables this app creates */
|
/* The tables this app creates */
|
||||||
|
@ -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'];
|
|
||||||
?>
|
|
@ -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';
|
|
Loading…
Reference in New Issue
Block a user