Skip to content

Commit

Permalink
Update index.php (#498)
Browse files Browse the repository at this point in the history
The LEGACY_ROOT constant is defined in config.php but this file is not included in the careers/index.php so, there's an error, resulting on a blank page showed to the user.
The inclusion of config.php in this file solves this problem
  • Loading branch information
pribeiro42 committed Feb 17, 2021
1 parent ff8832a commit a0b3324
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions careers/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
$careerPage = true;

chdir('..');
include_once('config.php') ;
include_once(LEGACY_ROOT . '/lib/CATSUtility.php');
include_once(CATSUtility::getIndexName());

Expand Down

0 comments on commit a0b3324

Please sign in to comment.