<?php
/*
Copyright (C) 2001-2004 ZZOSS GbR, http://www.zzoss.com
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**
@version $Id: application_profile_auto.php,v 1.2 2004/04/05 06:49:42 ordnas Exp $
@copyright Copyright © 2001-2004 ZZ/OSS GbR, http://www.zzoss.com
@license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
*/
// execute init file
//require_once 'inc/init.php';
/***************************************************************************
* STARTUP *
***************************************************************************/
/*
$a = array();
$zi_registry->registerPackages();
$packages = $zi_registry->getPackages();
if(is_array($packages)) {
foreach($packages as $package) {
if($_REQUEST["profile"] == 'full') {
$a[$package["id"]] = 'I';
} elseif($_REQUEST["profile"] == 'minimum' && $package["install"]["required"]) {
$a[$package["id"]] = 'I';
}
}
}
$zi_registry->setPackagesActions($a);
header("Location: packages_confirm.php".zi_form_querystr());
*/
?>