aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));