Changeset 1288 for trunk/picture.php


Ignore:
Timestamp:
Apr 28, 2006, 7:12:25 AM (18 years ago)
Author:
rvelices
Message:

merge -r1287 from branch-1_6 to trunk
bug 349: Nicer display messages instead of "die" when urls cannot be
solved (also set 404 status code for bots)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r1286 r1288  
    4343if (!in_array($page['image_id'], $page['items']))
    4444{
    45   die('Fatal: this picture does not belong to this section');
     45  page_not_found('The requested image does not belong to this image set',
     46      duplicate_index_url() );
    4647}
    4748
Note: See TracChangeset for help on using the changeset viewer.