Update detect

added detection of index.php in doc root and public folder