Created
April 5, 2017 02:20
-
-
Save qwersk/364742c4e83172daa24adf03df15b525 to your computer and use it in GitHub Desktop.
CHECK HOMEPAGE JOOMLA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $app = JFactory::getApplication(); | |
| $menu = $app->getMenu(); | |
| if ($menu->getActive() == $menu->getDefault()) { | |
| echo 'This is the front page'; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment