File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 88
99class Legal extends \BNETDocs \Controllers \Base
1010{
11- public const LICENSE_FILE = ' ../LICENSE.txt ' ;
11+ public const LICENSE_FILE = __DIR__ . ' /../../ ../LICENSE.txt ' ;
1212
1313 /**
1414 * Constructs a Controller, typically to initialize properties.
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ private static function reflectVersion(): ?array
9494 $ identifier = shell_exec ('git describe --always --tags ' );
9595 $ hash = shell_exec ('git rev-parse HEAD ' );
9696 $ timestamp = shell_exec ('git log -n 1 --pretty= \'%aI \' HEAD ' );
97- $ license = shell_exec ('git log -n 1 --pretty= \'%h %aI \' ../LICENSE.txt ' );
97+ $ license = shell_exec ('git log -n 1 --pretty= \'%h %aI \' ../../ LICENSE.txt ' );
9898
9999 if (!empty ($ identifier )) $ values [0 ] = trim ($ identifier );
100100 if (!empty ($ hash )) $ values [1 ] = trim ($ hash );
You can’t perform that action at this time.
0 commit comments