Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core] Make Loris Version Visible To The Front End #2498

Merged
merged 2 commits into from Jan 19, 2017

Conversation

gluneau
Copy link
Contributor

@gluneau gluneau commented Jan 4, 2017

Version Number Now Visible In The Front End.

@gluneau gluneau added the Feature PR or issue introducing/requiring at least one new feature label Jan 4, 2017
@gluneau gluneau added this to the 17.1 milestone Jan 4, 2017
@@ -63,6 +63,7 @@ function tplFromRequest($param)
$tpl_data['currentyear'] = date('Y');
$tpl_data['test_name'] = $TestName;
$tpl_data['subtest'] = $subtest;
$tpl_data['version'] = file_get_contents('../VERSION');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably explicitly be relative to the dir of main.php, not the cwd: __DIR__ . '../VERSION'

@driusan driusan merged commit 932ca76 into aces:17.1-dev Jan 19, 2017
jstirling91 pushed a commit to jstirling91/Loris that referenced this pull request May 8, 2017
Version Number Now Visible In The Front End.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature PR or issue introducing/requiring at least one new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants