Skip to content

Commit

Permalink
A couple of fixes related to pr #129 and pr #130.
Browse files Browse the repository at this point in the history
  • Loading branch information
anuko committed Apr 23, 2023
1 parent 7f2df46 commit c299c8b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion WEB-INF/lib/ttChartHelper.class.php
Expand Up @@ -137,7 +137,7 @@ static function getTotalsForFavReport($fav_report_id, $chart_type) {

// Use custom fields plugin if it is enabled.
if ($user->isPluginEnabled('cf')) {
require_once('plugins/CustomFields.class.php');
require_once(APP_DIR.'/plugins/CustomFields.class.php');
$custom_fields = new CustomFields();
}

Expand Down
2 changes: 1 addition & 1 deletion WEB-INF/lib/ttReportHelper.class.php
Expand Up @@ -8,7 +8,7 @@
import('ttTimeHelper');
import('ttConfigHelper');

require_once(dirname(__FILE__).'/../../plugins/CustomFields.class.php');
require_once(APP_DIR.'/plugins/CustomFields.class.php');

// Definitions of types for timesheet dropdown.
define('TIMESHEET_ALL', 0); // Include all records.
Expand Down
2 changes: 1 addition & 1 deletion initialize.php
Expand Up @@ -21,7 +21,7 @@
die("mysqli_report function is not available."); // No point to continue as mysqli will not work.
}

define("APP_VERSION", "1.22.10.5777");
define("APP_VERSION", "1.22.10.5778");
define("APP_DIR", dirname(__FILE__));
define("LIBRARY_DIR", APP_DIR."/WEB-INF/lib");
define("TEMPLATE_DIR", APP_DIR."/WEB-INF/templates");
Expand Down

0 comments on commit c299c8b

Please sign in to comment.