chihung
9/27/2019 - 2:33 AM

add active status for nav in php include

<?php if(basename($_SERVER['SCRIPT_NAME']) == 'index.php'){echo 'active'; }?>