Perhaps ``is_dir($path . '/Admin')`` would be more accurate ?