adlerka.space/templates/navpages.php
2024-01-11 10:19:22 +01:00

14 lines
210 B
PHP

<?php
ob_start();
$navpage_template = '<li><a href="__LOCATION__" __CLASS__>__NAME__</a></li>';
$page_dir = "../pages";
$files1 = scandir($page_dir);
echo print_r($files1, true);
return ob_get_clean();
?>