Skip to content

Commit

Permalink
v2.5 - Add the same absolute path construction as HRC2.
Browse files Browse the repository at this point in the history
-v2.5.
-Add the same absolute path construction as HRC2.
  • Loading branch information
zelon88 committed Aug 21, 2019
1 parent 99e5d76 commit 5cf72aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions convertCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@

// / -----------------------------------------------------------------------------------
// / The following code will load required HRConvert2 files.
if (!file_exists('config.php')) die ('ERROR!!! HRConvert226, Cannot process the HRConvert2 Configuration file (config.php)!'.PHP_EOL.'<br />');
else require_once ('config.php');
if (!file_exists('sanitizeCore.php')) die ('ERROR!!! HRConvert233, Cannot process the HRConvert2 Sanitize Core file (sanitizeCore.php)!'.PHP_EOL.'<br />');
else require_once ('sanitizeCore.php');
if (!file_exists(realpath(dirname(__FILE__)).DIRECTORY_SEPARATOR.'config.php')) die ('ERROR!!! HRConvert226, Cannot process the HRConvert2 Configuration file (config.php)!'.PHP_EOL.'<br />');
else require_once (realpath(dirname(__FILE__)).DIRECTORY_SEPARATOR.'config.php');
if (!file_exists(realpath(dirname(__FILE__)).DIRECTORY_SEPARATOR.'sanitizeCore.php')) die ('ERROR!!! HRConvert233, Cannot process the HRConvert2 Sanitize Core file (sanitizeCore.php)!'.PHP_EOL.'<br />');
else require_once (realpath(dirname(__FILE__)).DIRECTORY_SEPARATOR.'sanitizeCore.php');
// / -----------------------------------------------------------------------------------

// / -----------------------------------------------------------------------------------
Expand All @@ -51,7 +51,7 @@

// / -----------------------------------------------------------------------------------
// / The following code sets the global variables for the session.
$HRConvertVersion = 'v2.4';
$HRConvertVersion = 'v2.5';
$Date = date("m_d_y");
$Time = date("F j, Y, g:i a");
$JanitorFile = 'janitor.php';
Expand Down
2 changes: 1 addition & 1 deletion versionInfo.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
// / This file contains the current HRConvert2 version for auto-update purposes.

$Version = 'v2.4';
$Version = 'v2.5';

0 comments on commit 5cf72aa

Please sign in to comment.