phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] old/wcm/website/index.php, 1.1


From: nomail
Subject: [Phpgroupware-cvs] old/wcm/website/index.php, 1.1
Date: Thu, 30 Dec 2004 09:13:58 +0100

Update of /old/wcm/website
Added Files:
        Branch: 
          index.php

date: 2004/12/30 08:13:58;  author: skwashd;  state: Exp;

Log Message:
keep historic record for wcm
=====================================================================
<?php
        
/**************************************************************************\
        * phpGroupWare - WCM Sample Website                                     
   *
        * http://www.phpgroupware.org                                           
   *
        * This application written by Miles Lott <address@hidden>        *
        * --------------------------------------------                          
   *
        *  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: index.php,v 1.1 2004/12/30 08:13:58 skwashd Exp $ */

        $login  = 'anonymous';
        $passwd = 'anonymous1';

        $phpgw_info = array();
        $GLOBALS['phpgw_info']['flags'] = array(
                'currentapp' => 'login',
                'login'      => True,
                'noheader'   => True,
                'nonavbar'   => True
        );
        include('../../header.inc.php');

        define('SITE_ROOT', PHPGW_SERVER_ROOT . SEP . 'wcm' . SEP . 'website');

        $pageid   = $HTTP_GET_VARS['pageid'];
        $sitename = $HTTP_GET_VARS['sitename'];

        $GLOBALS['sessionid'] = 
$GLOBALS['phpgw']->session->create($login,$passwd,'text');
        
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/wcm/website/main.php','pageid='
 . $pageid . '&sitename=' . $sitename));
?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]