static function krumo::phpini in Devel 6
Same name and namespace in other branches
- 7 krumo/class.krumo.php \krumo::phpini()
* Prints a list of the configuration settings read from <i>php.ini</i> * * @access public * @static
File
- krumo/
class.krumo.php, line 268
Class
- krumo
- Krumo API
Code
static function phpini() {
// disabled ?
//
if (!krumo::_debug()) {
return false;
}
// render it
//
?>
<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>.
</div>
<?php
return krumo::dump(parse_ini_file(get_cfg_var('cfg_file_path'), true));
}