FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
common.php
Go to the documentation of this file.
1 <?php
2 /***********************************************************
3  Copyright (C) 2008-2013 Hewlett-Packard Development Company, L.P.
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License version 2.1 as published by the Free Software Foundation.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Lesser General Public License for more details.
13 
14  You should have received a copy of the GNU Lesser General Public License
15  along with this library; if not, write to the Free Software Foundation, Inc.0
16  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 ***********************************************************/
18 
37 // setup autoloading
38 require_once(dirname(dirname(dirname(__FILE__))) . "/vendor/autoload.php");
39 
40 require_once("common-sysconfig.php");
41 
42 // setup dependency injection
43 require_once("common-container.php");
44 
45 require_once("common-scheduler.php");
46 require_once("common-menu.php");
47 require_once("common-plugin.php");
48 require_once("common-folders.php");
49 require_once("common-dir.php");
50 require_once("common-parm.php");
51 require_once("common-repo.php");
52 require_once("common-license-file.php");
53 require_once("common-job.php");
54 require_once("common-agents.php");
55 require_once("common-active.php");
56 require_once("common-cache.php");
57 require_once("common-ui.php");
58 require_once("common-buckets.php");
59 require_once("common-pkg.php");
60 require_once("common-tags.php");
61 require_once("common-compare.php");
62 require_once("common-db.php");
63 require_once("common-auth.php");
64 require_once("common-perms.php");
65 require_once("common-users.php");
66 require_once("common-string.php");
67 /* Only include the command-line interface functions if it is required. */
68 global $UI_CLI;
69 if (! empty($UI_CLI) && ($UI_CLI == 1)) {
70  require_once ("common-cli.php");
71 }