sql_detect.php won't detect folders anymore