Changeset 2502 for trunk/include/functions_url.inc.php
- Timestamp:
- Sep 5, 2008, 3:24:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_url.inc.php
r2299 r2502 220 220 { 221 221 global $conf; 222 if (!isset($params['image_id'])) 223 { 224 die('make_picture_url: image_id is a required parameter'); 225 } 222 223 isset($params['image_id']) or fatal_error('make_picture_url: image_id is a required parameter'); 226 224 227 225 $url = get_root_url().'picture'; … … 376 374 if (!isset($params['tags']) or count($params['tags']) == 0) 377 375 { 378 die('make_section_in_url: require at least one tag');376 fatal_error('make_section_in_url: require at least one tag'); 379 377 } 380 378 … … 407 405 case 'search' : 408 406 { 409 if (!isset($params['search'])) 410 { 411 die('make_section_in_url: require a search identifier'); 412 } 413 407 isset($params['search']) or fatal_error('make_section_in_url: require a search identifier'); 414 408 $section_string.= '/search/'.$params['search']; 415 416 409 break; 417 410 } 418 411 case 'list' : 419 412 { 420 if (!isset($params['list'])) 421 { 422 die('make_section_in_url: require a list of items'); 423 } 424 413 isset($params['list']) or fatal_error('make_section_in_url: require a list of items'); 425 414 $section_string.= '/list/'.implode(',', $params['list']); 426 427 415 break; 428 416 }
Note: See TracChangeset
for help on using the changeset viewer.