aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/filestore.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/filestore.php b/engine/lib/filestore.php
index 662bf81ec..8610c23f0 100644
--- a/engine/lib/filestore.php
+++ b/engine/lib/filestore.php
@@ -680,6 +680,8 @@
*/
function filestore_init()
{
+ global $CONFIG;
+
// Now register a default filestore
set_default_filestore(new ElggDiskFilestore($CONFIG->dataroot));