<?php
/**
* Wave Framework <http://github.com/kristovaher/Wave-Framework>
* PHP Information
*
* This simple script is simply used to return current PHP information and call phpinfo()
* function. This function details a lot of important information about PHP installation and
* server setup.
*
* @package Tools
* @author Kristo Vaher <kristo@waher.net>
* @copyright Copyright (c) 2012, Kristo Vaher
* @license GNU Lesser General Public License Version 3
* @tutorial /doc/pages/guide_tools.htm
* @since 1.0.0
* @version 3.6.0
*/
// This initializes tools and authentication
require('.'.DIRECTORY_SEPARATOR.'tools_autoload.php');
// Simple phpinfo() is executed, returning all the relevant data about current installation
ob_start();
phpinfo();
echo str_replace('<body>','<body>'.passwordNotification($config['http-authentication-password'],false),ob_get_clean());
?>
|