source: trunk/phpgwapi/inc/class.utilities.inc.php @ 2

Revision 2, 2.4 KB checked in by niltonneto, 17 years ago (diff)

Removida todas as tags usadas pelo CVS ($Id, $Source).
Primeira versão no CVS externo.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<?php
2  /**************************************************************************\
3  * eGroupWare API - Utilies loader                                          *
4  * This file written by Dan Kuykendall <seek3r@phpgroupware.org>            *
5  * This simply loads up additional utility libraries                        *
6  * Copyright (C) 2000, 2001 Dan Kuykendall                                  *
7  * -------------------------------------------------------------------------*
8  * This library is part of the eGroupWare API                               *
9  * http://www.egroupware.org/api                                            *
10  * ------------------------------------------------------------------------ *
11  * This library is free software; you can redistribute it and/or modify it  *
12  * under the terms of the GNU Lesser General Public License as published by *
13  * the Free Software Foundation; either version 2.1 of the License,         *
14  * or any later version.                                                    *
15  * This library is distributed in the hope that it will be useful, but      *
16  * WITHOUT ANY WARRANTY; without even the implied warranty of               *
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                     *
18  * See the GNU Lesser General Public License for more details.              *
19  * You should have received a copy of the GNU Lesser General Public License *
20  * along with this library; if not, write to the Free Software Foundation,  *
21  * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA            *
22  \**************************************************************************/
23
24
25        $d1 = strtolower(substr(PHPGW_API_INC,0,3));
26        if($d1 == 'htt' || $d1 == 'ftp')
27        {
28                echo 'Failed attempt to break in via an old Security Hole!<br>' . "\n";
29                exit;
30        }
31        unset($d1);
32
33        class utilities
34        {
35                var $rssparser;
36                var $clientsniffer;
37                var $http;
38                var $matrixview;
39                var $menutree;
40                var $sbox;
41
42                function utilities_()
43                {
44                        //      $GLOBALS['phpgw']->rssparser = CreateObject("phpgwapi.rssparser");
45                        //      $GLOBALS['phpgw']->clientsniffer = CreateObject("phpgwapi.clientsniffer");
46                        //      $GLOBALS['phpgw']->http = CreateObject("phpgwapi.http");
47                        //     $GLOBALS['phpgw']->matrixview = CreateObject("phpgwapi.matrixview");
48                        //     $GLOBALS['phpgw']->menutree = CreateObject("phpgwapi.menutree");
49                        $GLOBALS['phpgw']->sbox = CreateObject('phpgwapi.portalbox');
50                }
51        }
52?>
Note: See TracBrowser for help on using the repository browser.