$currentFolder movido para system.inc.php