This repository was archived by the owner on Dec 14, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 115
115
<span class="heading"><?php echo $ t ['Root ' ];?> </span><br>
116
116
<?php echo $ docRoot ;?> <br><br>
117
117
<span class="heading"><?php echo $ t ['ICEcoder root ' ];?> </span><br>
118
- <?php echo $ docRoot . $ iceRoot ;?> <br><br>
118
+ <?php echo "" !== $ iceRoot ? $ iceRoot : " [Default] " ;?> <br><br>
119
119
<span class="heading"><?php echo $ t ['PHP version ' ];?> </span><br>
120
120
<?php echo phpversion ();?> <br><br>
121
121
<span class="heading"><?php echo $ t ['Date & time ' ];?> </span><br>
157
157
<?php
158
158
}
159
159
?>
160
+ <h2>ICEcoder</h2>
161
+ <span class="heading"><?php echo $ t ['version ' ];?> </span><br>
162
+ <?php
163
+ // If we have a .git dir, get the Git short commit hash to display as a link
164
+ $ gitCommitTextLink = "" ;
165
+ if (is_dir (dirname (__FILE__ ) . "/.git " )) {
166
+ $ gitCommit = trim (exec ('git log --pretty="%h" -n1 HEAD ' ));
167
+ $ gitCommitTextLink = ' (Git commit: <a href="https://github.com/icecoder/ICEcoder/commit/ ' . $ gitCommit . '" style="color: #eee; text-decoration: none" target="_blank"> ' . $ gitCommit . '</a>) ' ;
168
+ }
169
+ echo "v " . $ ICEcoder ["versionNo " ] . $ gitCommitTextLink ;
170
+ ?> <br><br>
171
+ <span class="heading"><?php echo $ t ['codemirror version ' ];?> </span><br>
172
+ <script>
173
+ document.write(CodeMirror.version);
174
+ </script>
175
+ <br><br>
160
176
</div>
161
177
162
178
<div style="clear: both"></div>
You can’t perform that action at this time.
0 commit comments