Elgg  Version 1.10
load.php
Go to the documentation of this file.
1 <?php
10 $lib_dir = __DIR__ . "/lib";
11 
12 // load the rest of the library files from engine/lib/
13 // All on separate lines to make diffs easy to read + make it apparent how much
14 // we're actually loading on every page (Hint: it's too much).
15 $lib_files = array(
16  // These need to be loaded first to correctly bootstrap
17  'autoloader.php',
18  'elgglib.php',
19 
20  // The order of these doesn't matter, so keep them alphabetical
21  'access.php',
22  'actions.php',
23  'admin.php',
24  'annotations.php',
25  'cache.php',
26  'comments.php',
27  'configuration.php',
28  'cron.php',
29  'database.php',
30  'entities.php',
31  'extender.php',
32  'filestore.php',
33  'friends.php',
34  'group.php',
35  'input.php',
36  'languages.php',
37  'mb_wrapper.php',
38  'memcache.php',
39  'metadata.php',
40  'metastrings.php',
41  'navigation.php',
42  'notification.php',
43  'objects.php',
44  'output.php',
45  'pagehandler.php',
46  'pageowner.php',
47  'pam.php',
48  'plugins.php',
49  'private_settings.php',
50  'relationships.php',
51  'river.php',
52  'sessions.php',
53  'sites.php',
54  'statistics.php',
55  'system_log.php',
56  'tags.php',
57  'user_settings.php',
58  'users.php',
59  'upgrade.php',
60  'views.php',
61  'widgets.php',
62 
63  // backward compatibility
64  'deprecated-1.7.php',
65  'deprecated-1.8.php',
66  'deprecated-1.9.php',
67  'deprecated-1.10.php',
68 );
69 
70 foreach ($lib_files as $file) {
71  require_once("$lib_dir/$file");
72 }
$lib_dir
This file is used to make all of Elgg&#39;s code available without going through the boot process...
Definition: load.php:10
$lib_files
Definition: load.php:15