Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
447 views
in Q2A Core by

something like

<pre>if($page_url('register.php'))

               {

                     echo 'something'

               }

           else

                {

                //do nothing

                }</pre>

1 Answer

+1 vote
by
 
Best answer

Yes, it is $this->request

If you are on the questions page for example, that variable would be equal to 'questions'.

...