#key - glob - fallback
	if (function_exists('glob')){
		function _glob($path,$pattern='*'){return glob($path.$pattern);}
	}else{
		function _glob($path,$pattern='') {
		    # glob function fallback by Cyril MAGUIRE (thx bro' ;-)
		    $liste =  array();
		    $pattern=str_replace('*','',$pattern);
		    if ($handle = opendir($path)) {
		        while (false !== ($file = readdir($handle))) {
		        	if(stripos($file, $pattern)!==false || $pattern=='') {
		                $liste[] = $path.$file;
		            }
		        }
		        closedir($handle);
		    }
		    if (!empty($liste)) {
		        return $liste;
		    } else {
		        return array();
		    }
		}
	}