Skip to content

Commit

Permalink
Drop Krumo::version(), instead use class constant Krumo::version
Browse files Browse the repository at this point in the history
  • Loading branch information
kktsvetkov committed Aug 2, 2020
1 parent f964e32 commit 78c37b8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions class.krumo.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
*
* @author Kaloyan K. Tsvetkov <kaloyan@kaloyan.info>
* @license https://opensource.org/licenses/LGPL-2.1 GNU Lesser General public License Version 2.1
*
* @package Krumo
* @version 0.4.2
*/

//////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -250,7 +247,9 @@ static function phpini()
//
?>
<div class="krumo-title">
This is a list of the configuration settings read from <code><b><?php echo get_cfg_var('cfg_file_path');?></b></code>.
This is a list of the configuration settings read from <code><b><?php
echo htmlspecialchars( get_cfg_var('cfg_file_path') );
?></b></code>.
</div>
<?php
self::$pre_name = get_cfg_var('cfg_file_path');
Expand Down Expand Up @@ -602,7 +601,7 @@ static function dump($data)
<?php echo self::_dump($data, $name);?>
<li class="krumo-footnote">
<div class="krumo-version" style="white-space:nowrap;">
<h6>Krumo v<?php echo self::version();?></h6> | <a
<h6>Krumo v<?php echo self::version;?></h6> | <a
href="https://github.com/kktsvetkov/krumo"
target="_blank">github.com/kktsvetkov/krumo</a>
</div>
Expand Down

0 comments on commit 78c37b8

Please sign in to comment.