Changeset 13872 for trunk/index.php


Ignore:
Timestamp:
Apr 3, 2012, 8:18:26 PM (12 years ago)
Author:
rvelices
Message:
  • is_homepage not set for flat view/calendar modes
  • added require jquery for some footer_script
  • removed unused/unnecesary css (hope I'm done for now)
  • if page[start] is greater than number of items than page not found (google+bing bots automatically detect patterns and increment start parameter)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r13458 r13872  
    4040  check_restrictions($page['category']['id']);
    4141}
     42if ($page['start']>0 && $page['start']>=count($page['items']))
     43{
     44  page_not_found('', duplicate_index_url(array('start'=>0)));
     45}
    4246
    4347trigger_action('loc_begin_index');
Note: See TracChangeset for help on using the changeset viewer.