1. <?php
  2. /**
  3. * Generate phpinfo() style PEAR information, with a custom blue skin
  4. *
  5. * @author    Laurent Laville
  6. * @package   PEAR_Info
  7. * @version   $Id:$
  8. * @license   http://www.php.net/license/3_01.txt  PHP License 3.01
  9. * @ignore
  10. */
  11.  
  12. // require the PEAR_Info file
  13. require_once 'PEAR/Info.php';
  14.  
  15. // set your own styles, rather than use the default stylesheet
  16. PEAR_Info::setStyleSheet(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'blueskin.css');
  17.  
  18. // Create PEAR_Info object
  19. $info = new PEAR_Info();
  20.  
  21. // Display PEAR_Info output
  22. $info->display();
  23.  
  24. ?>