add debug print
This commit is contained in:
parent
0d465fef7f
commit
8835db09f6
@ -8,6 +8,7 @@ $navpage_template = '<li><a class="navpage_link" href="__LOCATION__" __CLASS__>_
|
|||||||
$site_dirs = array_diff(scandir($page_dir), array('.', '..'));
|
$site_dirs = array_diff(scandir($page_dir), array('.', '..'));
|
||||||
|
|
||||||
foreach($site_dirs as $site_dir){
|
foreach($site_dirs as $site_dir){
|
||||||
|
echo "trying $site_dir/$page_dir";
|
||||||
$pages_dir = array_diff(scandir("$site_dir/$page_dir"), array('.', '..'));
|
$pages_dir = array_diff(scandir("$site_dir/$page_dir"), array('.', '..'));
|
||||||
|
|
||||||
$navsite = $navpage_template;
|
$navsite = $navpage_template;
|
||||||
|
Loading…
Reference in New Issue
Block a user