if(in_array(($mod= './modules/'.$_GET['module'],'/index.php'), glob('./modules/*/index.php'))){ include($mod);}else{ echo 'El módulo no existe.';}