Jump to content

if(!isset($page )) ?


martind
 Share

Recommended Posts

why does an if statement like this not work as expected...

if($input->urlSegment2 OR !isset($page))

... i try to execute different php-code in my head.inc for direct page calls (if this ist the right term, www.domain.tld/entry/page-name/ where template "entry" uses the $page array) and such that make use of urlSegments with infos for $pages->find in a different template. What i`m doing wrong?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...