Condition :
server pages assembled in this order-
header.php
menu.php
index.php
footer.php
next page -
header.php
menu.php
index2.php
footer.php
Does anyone know a way for menu.php to detect which 'index.php or index2.php' is being used so that I can dynamically modify the functions in 'menu.php' ?
Is it that since menu.php comes before index and index2 its not possible?
menu.php index.php index2.php