diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-04 13:05:44 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-04 13:05:44 +0000 |
commit | a8d7ea23f8868aa70dd6fe87482e3b860e0b615f (patch) | |
tree | d05bc4749587fcd8141d70d5c1ca505793150ac2 /engine/start.php | |
parent | 114bf6e56152d407f660cf5060972f3bfa4fd8ff (diff) | |
download | elgg-a8d7ea23f8868aa70dd6fe87482e3b860e0b615f.tar.gz elgg-a8d7ea23f8868aa70dd6fe87482e3b860e0b615f.tar.bz2 |
Moves access permissions references over to using the ACCESS_* constants defined in access.php. Refs #687
git-svn-id: https://code.elgg.org/elgg/trunk@2639 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/start.php')
-rw-r--r-- | engine/start.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engine/start.php b/engine/start.php index 819c95ace..568cea905 100644 --- a/engine/start.php +++ b/engine/start.php @@ -28,6 +28,11 @@ exit;
}
+ if (!@include_once(dirname(__FILE__) . "/lib/access.php")) { // Access library
+ echo "Error in installation: could not load the Access library.";
+ exit;
+ }
+
if (!@include_once(dirname(__FILE__) . "/lib/system_log.php")) { // Logging library
echo "Error in installation: could not load the System Log library.";
exit;
@@ -120,7 +125,7 @@ 'Thumbs.db',
'.svn',
'CVS','cvs',
- 'settings.php','settings.example.php','languages.php','exceptions.php','elgglib.php','database.php','actions.php','sessions.php'
+ 'settings.php','settings.example.php','languages.php','exceptions.php','elgglib.php','access.php','database.php','actions.php','sessions.php'
);
// Get the list of files to include, and alphabetically sort them
|