Is there a way to check if index.php exists in my subdirectories ?
For instance :
home/
|__folder/
| |__index.php
| |__style.css
|
|__folder2/
| |__style.css
|
|__folder3/
|__text.txt
I want to check if there is a index.php in folder, folder2, folder3. Eventually, I should create index.php if it doesn't exist.