Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit a788b0f

Browse files
author
Jamie Snape
committed
Fix dashboard using wrong data directory
1 parent 30554c2 commit a788b0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/Notification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function getDasboard()
4141
{
4242
$return = array();
4343
$return['Config Folder Writable'] = array(is_writable(LOCAL_CONFIGS_PATH));
44-
$return['Data Folder Writable'] = array(is_writable(BASE_PATH.'/data'));
44+
$return['Data Folder Writable'] = array(is_writable(UtilityComponent::getDataDirectory()));
4545
// pass in empty string since we want to check the overall root temp directory
4646
$return['Temporary Folder Writable'] = array(is_writable(UtilityComponent::getTempDirectory('')));
4747

0 commit comments

Comments
 (0)