Commit a7a7a40f authored by metzlerd's avatar metzlerd
Browse files

Added path to configuration.

parent 63b6656f
......@@ -577,7 +577,7 @@ function forena_forena_controls() {
function forena_report_path() {
$report_path = variable_get('forena_report_repos', '');
if (!$report_path) {
$report_path = variable_get('file_' . file_default_scheme() . '_path', conf_path() . '/files');
$report_path = variable_get('file_' . file_default_scheme() . '_path', conf_path() . '/files/reports');
}
return trim($report_path, '/');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment