source: sandbox/webservice/rest/setup/setup.inc.php @ 7466

Revision 7466, 1.3 KB checked in by alexandrecorreia, 11 years ago (diff)

Ticket #3171 - Módulo REST para configuração dos servidores.

Line 
1<?php
2
3        /**************************************************************************\
4        * Expresso - Seu Novo Modulo                                               *
5        * http://www.expressolivre.org                                             *
6        * --------------------------------------------                             *
7        *  This program is free software; you can redistribute it and/or modify it *
8        *  under the terms of the GNU General Public License as published by the   *
9        *  Free Software Foundation; either version 2 of the License, or (at your  *
10        *  option) any later version.                                              *
11        \**************************************************************************/
12
13        $setup_info['rest']['name']             = 'rest';
14        $setup_info['rest']['version']          = '1.000';
15        $setup_info['rest']['app_order']        = 3;
16        $setup_info['rest']['enable']           = 1;
17        $setup_info['rest']['author']           = 'Expresso Livre';
18
19        /* The hooks this app includes, needed for hooks registration */
20        $setup_info['rest']['hooks'][] = 'admin';
21       
22        /* Dependencies for this app to work */
23        $setup_info['rest']['depends']['appname'] = array(
24                 'appname' => 'phpgwapi',
25                 'versions' => Array('2.2')
26        );
27       
28        if( !file_exists( '../../prototype/config/REST.ini') )
29        {
30                require_once "default_records.inc.php";
31        }
32
33?>
Note: See TracBrowser for help on using the repository browser.