Update directory.php

Fixed MySQL error if user is not in the Super User group while deleting directories.