source: trunk/phpgwapi/inc/class.vfs.inc.php @ 5509

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

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

  • Property svn:eol-style set to native
  • Property svn:executable set to *
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        if (empty ($GLOBALS['phpgw_info']['server']['file_repository']))
13        {
14                $GLOBALS['phpgw_info']['server']['file_repository'] = 'sql';
15        }
16
17        include (PHPGW_API_INC . '/class.vfs_shared.inc.php');
18        include (PHPGW_API_INC . '/class.vfs_' . $GLOBALS['phpgw_info']['server']['file_repository'] . '.inc.php');
19?>
Note: See TracBrowser for help on using the repository browser.