fixing setting.php for gallery theme 2