Commit b01015c9 authored by metzlerd's avatar metzlerd
Browse files

Adding basepath to report context.

parent 7323ee53
......@@ -911,6 +911,7 @@ function forena_report($name_in, $parms = NULL, $print = TRUE) {
$desc = Frx::Menu()->parseURL($name_in);
$time = @new DateTime($value);
$desc['time'] = date_format($time, 'Y-m-d H:i:s');
$desc['basepath'] = base_path();
if (!$desc['exists']) {
drupal_set_message(t('Report %s not found', array('%s' => $name_in)), 'error', FALSE);
return '';
......
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