equal
deleted
inserted
replaced
261 */ |
261 */ |
262 |
262 |
263 function get_title($sanitize = true, $chop_special = false) |
263 function get_title($sanitize = true, $chop_special = false) |
264 { |
264 { |
265 $title = ''; |
265 $title = ''; |
266 if ( isset($_GET['title']) ) |
266 if ( isset($_GET['title']) && is_string($_GET['title']) ) |
267 { |
267 { |
268 $title = $_GET['title']; |
268 $title = $_GET['title']; |
269 } |
269 } |
270 else if ( isset($_SERVER['PATH_INFO']) ) |
270 else if ( isset($_SERVER['PATH_INFO']) ) |
271 { |
271 { |