PHP Classes

File: bootstrap.php

Recommend this page to a friend!
  Classes of Eric Jumba   PHPInfo Guard   bootstrap.php   Download  
File: bootstrap.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHPInfo Guard
Protected replacement for the phpinfo() function
Author: By
Last change:
Date: 20 days ago
Size: 180 bytes
 

Contents

Class file image Download
<?php

require_once __DIR__ . '/vendor/autoload.php';

if (!
function_exists('phpinfo')) {
    function
phpinfo()
    {
       
PhpInfoGuard\PhpInfoGuard::guardedPhpInfo();
    }
}