inc.php
/* Execute necessary scripts or show html pages */
Execute necessary scripts or show html pages
Execute necessary scripts or show html pages
function commandefiles($path)
    {
        if(substr($path,-4)==='.php')
        {
            require $path;
            die();
        }
        if(substr($path,-5)==='.html' || substr($path,-3)==='.js' || substr($path,-4)==='.css'
            || substr($path,-4)==='.htm')
        {
            echo file_get_contents($path);
            die();
        }
    }
function commandefiles ( $ path ) { if ( substr ( $ path , - 4 ) === '.php' ) { require $ path ; die ( ) ; } if ( substr ( $ path , - 5 ) === '.html' || substr ( $ path , - 3 ) === '.js' || substr ( $ path , - 4 ) === '.css' || substr ( $ path , - 4 ) === '.htm' ) { echo file_get_contents ( $ path ) ; die ( ) ; } }
Execute necessary scripts or show html pages
Execute necessary scripts or show html pages