I have decided that setup.inc.php will contain all the details about the app, which setup will need to know. I am removing all other existing files that served the same purpose. I may switch to setup.xml at some point... but not yet

This commit is contained in:
seek3r 2001-05-19 06:09:07 +00:00
parent 8bc4d7f5da
commit 85a3b35de4
11 changed files with 41 additions and 45 deletions

View File

@ -1,10 +0,0 @@
<?php
include('../version.inc.php');
$phpgw_info['setup']['addressbook']['name'] = 'Addressbook';
$phpgw_info['setup']['addressbook']['version'] = $phpgw_info['server']['versions']['addressbook'];
$phpgw_info['setup']['addressbook']['app_order'] = 7;
$phpgw_info['setup']['addressbook']['tables'] = "";
$hooks = Array();
$hooks_string = implode (',', $hooks);
$phpgw_info['setup']['addressbook']['hooks'] = $hooks_string;
?>

View File

@ -0,0 +1,9 @@
<?php
$setup_info['addressbook']['name'] = 'Addressbook';
$setup_info['addressbook']['version'] = '0.9.11';
$setup_info['addressbook']['app_order'] = 4;
$setup_info['addressbook']['tables'] = "";
$hooks = Array();
$hooks_string = implode (',', $hooks);
$setup_info['addressbook']['hooks'] = $hooks_string;
?>

View File

@ -1,3 +0,0 @@
<?php
$setup_info["addressbook"] = array("name" => "Addressbook", "app_order" => 4, "version" => $phpgw_info["server"]["versions"]["phpgwapi"]);
?>

View File

@ -1,10 +0,0 @@
<?php
include('../version.inc.php');
$phpgw_info['setup']['admin']['name'] = 'Administration';
$phpgw_info['setup']['admin']['version'] = $phpgw_info['server']['versions']['admin'];
$phpgw_info['setup']['admin']['app_order'] = 1;
$phpgw_info['setup']['admin']['tables'] = "";
$hooks = Array();
$hooks_string = implode (',', $hooks);
$phpgw_info['setup']['admin']['hooks'] = $hooks_string;
?>

9
admin/setup/setup.inc.php Executable file
View File

@ -0,0 +1,9 @@
<?php
$setup_info['admin']['name'] = 'Administration';
$setup_info['admin']['version'] = '0.9.11';
$setup_info['admin']['app_order'] = 1;
$setup_info['admin']['tables'] = "";
$hooks = Array();
$hooks_string = implode (',', $hooks);
$setup_info['admin']['hooks'] = $hooks_string;
?>

View File

@ -1,3 +0,0 @@
<?php
$setup_info["admin"] = array("name" => "Admin", "app_order" => 1, "version" => $phpgw_info["server"]["versions"]["phpgwapi"]);
?>

9
calendar/setup/setup.inc.php Executable file
View File

@ -0,0 +1,9 @@
<?php
$setup_info['calendar']['name'] = 'Calendar';
$setup_info['calendar']['version'] = '0.9.11';
$setup_info['calendar']['app_order'] = 3;
$setup_info['calendar']['tables'] = "";
$hooks = Array();
$hooks_string = implode (',', $hooks);
$setup_info['calendar']['hooks'] = $hooks_string;
?>

View File

@ -1,3 +0,0 @@
<?php
$setup_info["calendar"] = array("name" => "Calendar", "app_order" => 3, "version" => $phpgw_info["server"]["versions"]["phpgwapi"]);
?>

View File

@ -1,8 +1,7 @@
<?php <?php
include('../version.inc.php'); $setup_info['phpgwapi']['name'] = 'phpgwapi';
$phpgw_info['setup']['phpgwapi']['name'] = 'phpgwapi'; $setup_info['phpgwapi']['version'] = '0.9.11';
$phpgw_info['setup']['phpgwapi']['version'] = $phpgw_info['server']['versions']['phpgwapi']; // $setup_info['phpgwapi']['app_order'] = '6';
// $phpgw_info['setup']['phpgwapi']['app_order'] = '6';
$tables = Array(); $tables = Array();
$tables[] = 'phpgw_sessions'; $tables[] = 'phpgw_sessions';
$tables[] = 'phpgw_preferences'; $tables[] = 'phpgw_preferences';
@ -17,8 +16,8 @@
$tables[] = 'phpgw_lang'; $tables[] = 'phpgw_lang';
$tables[] = 'phpgw_languages'; $tables[] = 'phpgw_languages';
$tables_string = implode (',', $tables); $tables_string = implode (',', $tables);
$phpgw_info['setup']['phpgwapi']['tables'] = $tables_string; $setup_info['phpgwapi']['tables'] = $tables_string;
$hooks = Array(); $hooks = Array();
$hooks_string = implode (',', $hooks); $hooks_string = implode (',', $hooks);
$phpgw_info['setup']['phpgwapi']['hooks'] = $hooks_string; $setup_info['phpgwapi']['hooks'] = $hooks_string;
?> ?>

View File

@ -1,10 +0,0 @@
<?php
include('../version.inc.php');
$phpgw_info['setup']['preferences']['name'] = 'Preferences';
$phpgw_info['setup']['preferences']['version'] = $phpgw_info['server']['versions']['preferences'];
$phpgw_info['setup']['preferences']['app_order'] = 1;
$phpgw_info['setup']['preferences']['tables'] = "";
$hooks = Array();
$hooks_string = implode (',', $hooks);
$phpgw_info['setup']['preferences']['hooks'] = $hooks_string;
?>

View File

@ -0,0 +1,9 @@
<?php
$setup_info['preferences']['name'] = 'Preferences';
$setup_info['preferences']['version'] = '0.9.11';
$setup_info['preferences']['app_order'] = 1;
$setup_info['preferences']['tables'] = "";
$hooks = Array();
$hooks_string = implode (',', $hooks);
$setup_info['preferences']['hooks'] = $hooks_string;
?>