source: trunk/filemanager/index.php @ 5509

Revision 5509, 1.4 KB checked in by gustavo, 12 years ago (diff)

Ticket #2488 - Adicionar cabecalho de licenca em arquivos que nao o possuem

Line 
1<?php
2                /***************************************************************************
3                * Expresso Livre                                                           *
4                * http://www.expressolivre.org                                             *
5                * --------------------------------------------                             *
6                *  This program is free software; you can redistribute it and/or modify it *
7                *  under the terms of the GNU General Public License as published by the   *
8                *  Free Software Foundation; either version 2 of the License, or (at your  *
9                *  option) any later version.                                              *
10                \**************************************************************************/
11       
12                // FIXME add copyright header
13                /*
14                eGroupWare - http://www.egroupware.org
15                written by Pim Snel <pim@lingewoud.nl>
16                */
17
18
19        $phpgw_flags = Array(
20                'currentapp'    =>      'filemanager',
21                'noheader'      =>      True,
22                'nonavbar'      =>      True,
23                'noappheader'   =>      True,
24                'noappfooter'   =>      True,
25                'nofooter'      =>      True
26        );
27
28        $GLOBALS['phpgw_info']['flags'] = $phpgw_flags;
29
30        include('../header.inc.php');
31        $preferences = $GLOBALS['phpgw']->preferences->read();
32        $_SESSION['phpgw_info']['user']['preferences']['filemanager'] = $preferences['filemanager'];
33
34        Header('Location: '.$GLOBALS['phpgw']->link('/index.php','menuaction=filemanager.uifilemanager.index'));
35        $GLOBALS['phpgw']->common->phpgw_exit();
36?>
Note: See TracBrowser for help on using the repository browser.