plugin.php

File Type: php File Location: monofiles/ File name: plugin.php
<?php
    
    
function insert($plugin) {

            
$pluginfile '../plugins/'.$plugin.'.php';

            if (
file_exists($pluginfile))
                
                if (!
file_exists('../plugins/'.$plugin.'.txt'))
                
                    include 
$pluginfile;
    }

?>